diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-18 15:59:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-18 15:59:14 +0000 |
commit | 7f55af320dacaf5665b1ab6b1530fbed20a07dbf (patch) | |
tree | c84e6eef693792dc9f7b8b640ad4bb3db9c672d6 /gdb/gdbarch.c | |
parent | 05f13b9c26569280ca83876cc51e359466d9e404 (diff) | |
download | gdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.zip gdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.tar.gz gdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.tar.bz2 |
* gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
Default to func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (FRAME_CHAIN_VALID): Delete definition.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 8467d41..5aad461 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -514,6 +514,7 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->remote_translate_xfer_address = generic_remote_translate_xfer_address; current_gdbarch->frame_args_skip = -1; current_gdbarch->frameless_function_invocation = generic_frameless_function_invocation_not; + current_gdbarch->frame_chain_valid = func_frame_chain_valid; current_gdbarch->extra_stack_alignment_needed = 1; current_gdbarch->convert_from_func_ptr_addr = core_addr_identity; current_gdbarch->addr_bits_remove = core_addr_identity; @@ -742,9 +743,7 @@ verify_gdbarch (struct gdbarch *gdbarch) if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && (gdbarch->frame_chain == 0)) fprintf_unfiltered (log, "\n\tframe_chain"); - if ((GDB_MULTI_ARCH >= GDB_MULTI_ARCH_PARTIAL) - && (gdbarch->frame_chain_valid == 0)) - fprintf_unfiltered (log, "\n\tframe_chain_valid"); + /* Skip verify of frame_chain_valid, invalid_p == 0 */ if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && (gdbarch->frame_saved_pc == 0)) fprintf_unfiltered (log, "\n\tframe_saved_pc"); |