aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-08 18:30:14 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-08 18:30:14 +0000
commitca0d0b529b519a4fce724bc6e6191632f78e7525 (patch)
treef0193dfb615e8ae4337bbcabce71959d48ff8c51 /gdb/gdbarch.c
parent2af496cb215cdfc34badb8bd5c50eb372ba4caeb (diff)
downloadfsf-binutils-gdb-ca0d0b529b519a4fce724bc6e6191632f78e7525.zip
fsf-binutils-gdb-ca0d0b529b519a4fce724bc6e6191632f78e7525.tar.gz
fsf-binutils-gdb-ca0d0b529b519a4fce724bc6e6191632f78e7525.tar.bz2
* gdbarch.sh (FRAME_CHAIN_VALID): Set default to
generic_func_frame_chain_valid. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (generic_func_frame_chain_valid): Only check PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about passing FP to PC_IN_CALL_DUMMY. Fix PR gdb/360.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 2622a80..755ae32 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -523,7 +523,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->frame_chain_valid = generic_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;