forked from Imagelibrary/binutils-gdb
2002-08-21 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
* mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function.
|
* mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function.
|
||||||
(MSYMBOL_SIZE): Replace macro with function.
|
(MSYMBOL_SIZE): Replace macro with function.
|
||||||
|
(DEFAULT_MIPS_TYPE): Delete unused macro.
|
||||||
|
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro.
|
||||||
|
* config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
|
||||||
|
|
||||||
2002-08-21 Jim Blandy <jimb@redhat.com>
|
2002-08-21 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
|||||||
@@ -19,9 +19,6 @@
|
|||||||
|
|
||||||
#include "mips/tm-bigmips.h"
|
#include "mips/tm-bigmips.h"
|
||||||
|
|
||||||
#undef DEFAULT_MIPS_TYPE
|
|
||||||
#define DEFAULT_MIPS_TYPE "r3051"
|
|
||||||
|
|
||||||
/* Watchpoint support */
|
/* Watchpoint support */
|
||||||
|
|
||||||
#define TARGET_HAS_HARDWARE_WATCHPOINTS
|
#define TARGET_HAS_HARDWARE_WATCHPOINTS
|
||||||
|
|||||||
@@ -46,11 +46,6 @@ struct value;
|
|||||||
#define GDB_TARGET_UNMASK_DISAS_PC(addr) MAKE_MIPS16_ADDR(addr)
|
#define GDB_TARGET_UNMASK_DISAS_PC(addr) MAKE_MIPS16_ADDR(addr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The name of the usual type of MIPS processor that is in the target
|
|
||||||
system. */
|
|
||||||
|
|
||||||
#define DEFAULT_MIPS_TYPE "generic"
|
|
||||||
|
|
||||||
/* Return non-zero if PC points to an instruction which will cause a step
|
/* Return non-zero if PC points to an instruction which will cause a step
|
||||||
to execute both the instruction at PC and an instruction at PC+4. */
|
to execute both the instruction at PC and an instruction at PC+4. */
|
||||||
extern int mips_step_skips_delay (CORE_ADDR);
|
extern int mips_step_skips_delay (CORE_ADDR);
|
||||||
|
|||||||
@@ -5914,6 +5914,9 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||||||
register name management is part way between the old -
|
register name management is part way between the old -
|
||||||
#undef/#define REGISTER_NAMES and the new REGISTER_NAME(nr).
|
#undef/#define REGISTER_NAMES and the new REGISTER_NAME(nr).
|
||||||
Further work on it is required. */
|
Further work on it is required. */
|
||||||
|
/* NOTE: many targets (esp. embedded) do not go thru the
|
||||||
|
gdbarch_register_name vector at all, instead bypassing it
|
||||||
|
by defining REGISTER_NAMES. */
|
||||||
set_gdbarch_register_name (gdbarch, mips_register_name);
|
set_gdbarch_register_name (gdbarch, mips_register_name);
|
||||||
set_gdbarch_read_pc (gdbarch, mips_read_pc);
|
set_gdbarch_read_pc (gdbarch, mips_read_pc);
|
||||||
set_gdbarch_write_pc (gdbarch, generic_target_write_pc);
|
set_gdbarch_write_pc (gdbarch, generic_target_write_pc);
|
||||||
@@ -6131,9 +6134,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
|
|||||||
fprintf_unfiltered (file,
|
fprintf_unfiltered (file,
|
||||||
"mips_dump_tdep: CPLUS_MARKER = %c\n",
|
"mips_dump_tdep: CPLUS_MARKER = %c\n",
|
||||||
CPLUS_MARKER);
|
CPLUS_MARKER);
|
||||||
fprintf_unfiltered (file,
|
|
||||||
"mips_dump_tdep: DEFAULT_MIPS_TYPE = %s\n",
|
|
||||||
DEFAULT_MIPS_TYPE);
|
|
||||||
fprintf_unfiltered (file,
|
fprintf_unfiltered (file,
|
||||||
"mips_dump_tdep: DO_REGISTERS_INFO # %s\n",
|
"mips_dump_tdep: DO_REGISTERS_INFO # %s\n",
|
||||||
XSTRING (DO_REGISTERS_INFO));
|
XSTRING (DO_REGISTERS_INFO));
|
||||||
|
|||||||
Reference in New Issue
Block a user