summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:37:12 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:37:12 +0000
commitffef93f2648d6500984bb27d323687a36a458bd2 (patch)
tree6c8c32ad5eb1001b9e5e596869f9dd21b7cb3767 /gdb/gdbarch.h
parent93b2ddd1d84f2315a3ae7e58952dfe201e2d5ca7 (diff)
downloadgdb-ffef93f2648d6500984bb27d323687a36a458bd2.tar.gz
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by gdbarch_deprecated_fp_regnum. * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. * arch-utils.c (legacy_virtual_frame_pointer): Likewise. * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise (comment). * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index c7d858643db..59a7bda6d80 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -257,16 +257,10 @@ extern struct frame_id gdbarch_unwind_dummy_id (struct gdbarch *gdbarch, struct
extern void set_gdbarch_unwind_dummy_id (struct gdbarch *gdbarch, gdbarch_unwind_dummy_id_ftype *unwind_dummy_id);
/* Implement UNWIND_DUMMY_ID and PUSH_DUMMY_CALL, then delete
- DEPRECATED_FP_REGNUM. */
+ deprecated_fp_regnum. */
extern int gdbarch_deprecated_fp_regnum (struct gdbarch *gdbarch);
extern void set_gdbarch_deprecated_fp_regnum (struct gdbarch *gdbarch, int deprecated_fp_regnum);
-#if !defined (GDB_TM_FILE) && defined (DEPRECATED_FP_REGNUM)
-#error "Non multi-arch definition of DEPRECATED_FP_REGNUM"
-#endif
-#if !defined (DEPRECATED_FP_REGNUM)
-#define DEPRECATED_FP_REGNUM (gdbarch_deprecated_fp_regnum (current_gdbarch))
-#endif
/* See gdbint.texinfo. See infcall.c. */