diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-05 14:12:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-05 14:12:40 +0000 |
commit | 9c8dbfa93743cdd33e6502bc2e2359212b742949 (patch) | |
tree | b6619ff5031172c69936d756eee59f7df99de3f0 /gdb/gdbarch.h | |
parent | 92868b6eba6bd5e0f6f88aa2ec219a7cd5cfc3b8 (diff) | |
download | gdb-9c8dbfa93743cdd33e6502bc2e2359212b742949.zip gdb-9c8dbfa93743cdd33e6502bc2e2359212b742949.tar.gz gdb-9c8dbfa93743cdd33e6502bc2e2359212b742949.tar.bz2 |
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_frame_saved_pc): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
* inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
* frame.h: Delete deprecated_read_fp from comments.
* arch-utils.c (deprecated_init_frame_pc_default): Delete.
* arch-utils.h (deprecated_init_frame_pc_default): Delete.
Index: doc/ChangeLog
2004-08-05 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to deprecated_read_fp.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index b691945..fc0fe50 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -987,35 +987,6 @@ extern void set_gdbarch_frame_args_skip (struct gdbarch *gdbarch, CORE_ADDR fram #define FRAME_ARGS_SKIP (gdbarch_frame_args_skip (current_gdbarch)) #endif -/* DEPRECATED_FRAME_SAVED_PC has been replaced by UNWIND_PC. Please - note, per UNWIND_PC's doco, that while the two have similar - interfaces they have very different underlying implementations. */ - -#if defined (DEPRECATED_FRAME_SAVED_PC) -/* Legacy for systems yet to multi-arch DEPRECATED_FRAME_SAVED_PC */ -#if !defined (DEPRECATED_FRAME_SAVED_PC_P) -#define DEPRECATED_FRAME_SAVED_PC_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_frame_saved_pc_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_FRAME_SAVED_PC_P) -#error "Non multi-arch definition of DEPRECATED_FRAME_SAVED_PC" -#endif -#if !defined (DEPRECATED_FRAME_SAVED_PC_P) -#define DEPRECATED_FRAME_SAVED_PC_P() (gdbarch_deprecated_frame_saved_pc_p (current_gdbarch)) -#endif - -typedef CORE_ADDR (gdbarch_deprecated_frame_saved_pc_ftype) (struct frame_info *fi); -extern CORE_ADDR gdbarch_deprecated_frame_saved_pc (struct gdbarch *gdbarch, struct frame_info *fi); -extern void set_gdbarch_deprecated_frame_saved_pc (struct gdbarch *gdbarch, gdbarch_deprecated_frame_saved_pc_ftype *deprecated_frame_saved_pc); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_FRAME_SAVED_PC) -#error "Non multi-arch definition of DEPRECATED_FRAME_SAVED_PC" -#endif -#if !defined (DEPRECATED_FRAME_SAVED_PC) -#define DEPRECATED_FRAME_SAVED_PC(fi) (gdbarch_deprecated_frame_saved_pc (current_gdbarch, fi)) -#endif - extern int gdbarch_unwind_pc_p (struct gdbarch *gdbarch); typedef CORE_ADDR (gdbarch_unwind_pc_ftype) (struct gdbarch *gdbarch, struct frame_info *next_frame); |