aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
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.h
parent2af496cb215cdfc34badb8bd5c50eb372ba4caeb (diff)
downloadgdb-ca0d0b529b519a4fce724bc6e6191632f78e7525.zip
gdb-ca0d0b529b519a4fce724bc6e6191632f78e7525.tar.gz
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.h')
-rw-r--r--gdb/gdbarch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 02bf7c7..d693839 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -1887,7 +1887,7 @@ extern void set_gdbarch_frame_chain (struct gdbarch *gdbarch, gdbarch_frame_chai
/* Default (function) for non- multi-arch platforms. */
#if (!GDB_MULTI_ARCH) && !defined (FRAME_CHAIN_VALID)
-#define FRAME_CHAIN_VALID(chain, thisframe) (func_frame_chain_valid (chain, thisframe))
+#define FRAME_CHAIN_VALID(chain, thisframe) (generic_func_frame_chain_valid (chain, thisframe))
#endif
typedef int (gdbarch_frame_chain_valid_ftype) (CORE_ADDR chain, struct frame_info *thisframe);