summaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-16 22:46:49 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-16 22:46:49 +0000
commitd9a5d730468be6d6cb87b1d4dfc2cc31306ec570 (patch)
tree742ce2344ea43148747bda40d03ffaae557ed766 /gdb/mips-tdep.h
parent200a75a14861a9232b22821a2e295fe8a6ac4e3b (diff)
downloadgdb-d9a5d730468be6d6cb87b1d4dfc2cc31306ec570.tar.gz
2003-11-16 Andrew Cagney <cagney@redhat.com>
* mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare. * remote-mips.c (common_open): Instead of "mips_read_register_type" and "mips_set_processor_type_command" call "deprecated_mips_set_processor_regs_hack". * config/mips/tm-mips.h (mips_read_processor_type): Delete declaration. (mips_set_processor_type_command): Delete declaration. * mips-tdep.c (mips_gdbarch_init): Update comment. (mips_dump_tdep): Do not print MIPS_REGISTER_NAMES. (mips_set_processor_type): Delete function. (NUM_MIPS_PROCESSOR_REGS): Define. (mips_show_processor_type_command): Delete function. (mips_set_processor_type_command): Delete function. (tmp_mips_processor_type): Delete. (mips_processor_type): Delete. (mips_processor_type_table): Delete. (mips_r3051_reg_names): Delete. (mips_r3081_reg_names): Delete. (mips_lsi33k_reg_names): Delete. (mips_processor_reg_names): Delete. (mips_read_processor_type): Delete function. (deprecated_mips_set_processor_regs_hack): New function. (struct gdbarch_tdep): Add member "mips_processor_reg_names". (mips_register_name): Get the processor names from the tdep. (mips_tx39_reg_names): New array. (mips_generic_reg_names): Wire to a standard set of names. (mips_gdbarch_init): Set "mips_processor_reg_names". * config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro. * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro. * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r--gdb/mips-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index 988d09eb31c..7a00ffaf5e9 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -70,4 +70,8 @@ enum {
MIPS_EMBED_FP0_REGNUM = 38
};
+/* Defined in mips-tdep.c and used in remote-mips.c */
+extern void deprecated_mips_set_processor_regs_hack (void);
+
+
#endif /* MIPS_TDEP_H */