aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-25 04:47:56 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-25 04:47:56 +0000
commit7d6a26a7dc968a6be160d59fe45219bd646b1a1c (patch)
treef1f1b7bee5b799dd8a93ea40a8484bf949b89d30 /gdb/gdbarch.h
parentaeb5439ec8681a66d6aad77c671103cfcf2cc8f8 (diff)
downloadgdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.zip
gdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.tar.gz
gdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.tar.bz2
2002-11-24 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change default to get_frame_base. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (default_frame_address): Delete function. * arch-utils.h (default_frame_address): Delete declaration
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 436293f..b1e8fe7 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -1952,7 +1952,7 @@ extern void set_gdbarch_frame_saved_pc (struct gdbarch *gdbarch, gdbarch_frame_s
/* Default (function) for non- multi-arch platforms. */
#if (!GDB_MULTI_ARCH) && !defined (FRAME_ARGS_ADDRESS)
-#define FRAME_ARGS_ADDRESS(fi) (default_frame_address (fi))
+#define FRAME_ARGS_ADDRESS(fi) (get_frame_base (fi))
#endif
typedef CORE_ADDR (gdbarch_frame_args_address_ftype) (struct frame_info *fi);
@@ -1969,7 +1969,7 @@ extern void set_gdbarch_frame_args_address (struct gdbarch *gdbarch, gdbarch_fra
/* Default (function) for non- multi-arch platforms. */
#if (!GDB_MULTI_ARCH) && !defined (FRAME_LOCALS_ADDRESS)
-#define FRAME_LOCALS_ADDRESS(fi) (default_frame_address (fi))
+#define FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi))
#endif
typedef CORE_ADDR (gdbarch_frame_locals_address_ftype) (struct frame_info *fi);