aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:47:06 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-12 16:47:06 +0000
commit474c1661763ea406e7b76ba49718330a6b8ade94 (patch)
treec266e0b1b85517c1d9b00e47509e8f8c0c544291 /gdb/gdbarch.h
parentc7bb205ca90c54c3a99aa42dc9aa21872347690b (diff)
downloadgdb-474c1661763ea406e7b76ba49718330a6b8ade94.zip
gdb-474c1661763ea406e7b76ba49718330a6b8ade94.tar.gz
gdb-474c1661763ea406e7b76ba49718330a6b8ade94.tar.bz2
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (REGISTER_SIM_REGNO): Replace by gdbarch_register_sim_regno. * sim-regno.h (sim_regno): Likewise (comment). * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index f8bb509..3a5d3ce 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -424,12 +424,6 @@ extern void set_gdbarch_print_vector_info (struct gdbarch *gdbarch, gdbarch_prin
typedef int (gdbarch_register_sim_regno_ftype) (int reg_nr);
extern int gdbarch_register_sim_regno (struct gdbarch *gdbarch, int reg_nr);
extern void set_gdbarch_register_sim_regno (struct gdbarch *gdbarch, gdbarch_register_sim_regno_ftype *register_sim_regno);
-#if !defined (GDB_TM_FILE) && defined (REGISTER_SIM_REGNO)
-#error "Non multi-arch definition of REGISTER_SIM_REGNO"
-#endif
-#if !defined (REGISTER_SIM_REGNO)
-#define REGISTER_SIM_REGNO(reg_nr) (gdbarch_register_sim_regno (current_gdbarch, reg_nr))
-#endif
typedef int (gdbarch_cannot_fetch_register_ftype) (int regnum);
extern int gdbarch_cannot_fetch_register (struct gdbarch *gdbarch, int regnum);