diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-28 21:38:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-28 21:38:44 +0000 |
commit | 07555a72863c79f6146a10730ef9468e9f4abc7f (patch) | |
tree | bab2d57c6978fcc5d59b420917f0fef0063e9a20 /gdb/blockframe.c | |
parent | b99fa2d2956f35124e25b6399afc124041be9a93 (diff) | |
download | gdb-07555a72863c79f6146a10730ef9468e9f4abc7f.zip gdb-07555a72863c79f6146a10730ef9468e9f4abc7f.tar.gz gdb-07555a72863c79f6146a10730ef9468e9f4abc7f.tar.bz2 |
2002-11-28 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename
USE_GENERIC_DUMMY_FRAMES.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c, frame.c: Update.
* config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update.
* config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, blockframe.c: Update.
* vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto.
* m68k-tdep.c, alpha-tdep.c: Ditto.
* arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1.
* mips-tdep.c: Ditto.
Index: doc/ChangeLog
2002-11-28 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Host Definition): Delete documentation on
USE_GENERIC_DUMMY_FRAMES.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index ee3b474..8aa4ae9 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -719,7 +719,7 @@ generic_file_frame_chain_valid (CORE_ADDR fp, struct frame_info *fi) int generic_func_frame_chain_valid (CORE_ADDR fp, struct frame_info *fi) { - if (USE_GENERIC_DUMMY_FRAMES + if (DEPRECATED_USE_GENERIC_DUMMY_FRAMES && PC_IN_CALL_DUMMY ((fi)->pc, 0, 0)) return 1; /* don't prune CALL_DUMMY frames */ else /* fall back to default algorithm (see frame.h) */ |