mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
2004-01-18 Andrew Cagney <cagney@redhat.com>
* remote-sds.c (tohex): Delete unused function. Update copyright. * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. * v850-tdep.c (v850_register_virtual_size): Ditto. * target.c (normal_target_post_startup_inferior): Ditto. * source.c (ambiguous_line_spec): Ditto. * remote.c (adapt_remote_get_threadinfo): Ditto. * mi/mi-out.c (out_field_fmt): Ditto. * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. (output_control_change_notification): Ditto. * m68k-tdep.c (m68k_register_byte): Ditto. (m68k_remote_breakpoint_from_pc): Ditto. * ui-out.c (init_ui_out_state): Delete unused declaration. * stabsread.c (search_value): Ditto. * mi/mi-cmd-env.c (env_cli_command): Ditto. * maint.c (print_section_table): Ditto. * infrun.c (set_follow_fork_mode_command): Ditto.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/* Target dependent code for the Motorola 68000 series.
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001,
|
||||
2002, 2003
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
|
||||
2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -69,17 +69,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
/* gdbarch_breakpoint_from_pc is set to m68k_local_breakpoint_from_pc
|
||||
so m68k_remote_breakpoint_from_pc is currently not used. */
|
||||
|
||||
static const unsigned char *
|
||||
m68k_remote_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
|
||||
{
|
||||
static unsigned char break_insn[] = {0x4e, (0x40 | REMOTE_BPT_VECTOR)};
|
||||
*lenptr = sizeof (break_insn);
|
||||
return break_insn;
|
||||
}
|
||||
|
||||
static const unsigned char *
|
||||
m68k_local_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
|
||||
{
|
||||
@ -144,20 +133,6 @@ m68k_register_name (int regnum)
|
||||
else
|
||||
return register_names[regnum];
|
||||
}
|
||||
|
||||
/* Index within `registers' of the first byte of the space for
|
||||
register regnum. */
|
||||
|
||||
static int
|
||||
m68k_register_byte (int regnum)
|
||||
{
|
||||
if (regnum >= M68K_FPC_REGNUM)
|
||||
return (((regnum - M68K_FPC_REGNUM) * 4) + 168);
|
||||
else if (regnum >= FP0_REGNUM)
|
||||
return (((regnum - FP0_REGNUM) * 12) + 72);
|
||||
else
|
||||
return (regnum * 4);
|
||||
}
|
||||
|
||||
/* Extract from an array REGBUF containing the (raw) register state, a
|
||||
function return value of TYPE, and copy that, in virtual format,
|
||||
|
Reference in New Issue
Block a user