diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-16 20:00:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-16 20:00:24 +0000 |
commit | 6dad30024af153c0be0c96f3f83f0283d1474b1f (patch) | |
tree | 265e097557f9e76a0fe37eccd50b317c134bfae8 /gdb/gdbarch.h | |
parent | 0358b5b69e4bf6d12b03264bdb3816f7e7eb9462 (diff) | |
download | gdb-6dad30024af153c0be0c96f3f83f0283d1474b1f.tar.gz |
* arch-utils.c (init_frame_pc_default): New function
* arch-utils.h (init_frame_pc_default): Declare.
* gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
not init_frame_pc_noop.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (INIT_FRAME_PC): Delete macro definition.
* mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
init_frame_pc_noop.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 586f4e803fe..9f2d0c0b3f5 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -833,7 +833,7 @@ extern void set_gdbarch_init_frame_pc_first (struct gdbarch *gdbarch, gdbarch_in /* Default (function) for non- multi-arch platforms. */ #if (!GDB_MULTI_ARCH) && !defined (INIT_FRAME_PC) -#define INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev)) +#define INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_default (fromleaf, prev)) #endif typedef void (gdbarch_init_frame_pc_ftype) (int fromleaf, struct frame_info *prev); |