From 07555a72863c79f6146a10730ef9468e9f4abc7f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 28 Nov 2002 21:38:44 +0000 Subject: 2002-11-28 Andrew Cagney * 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 * gdbint.texinfo (Host Definition): Delete documentation on USE_GENERIC_DUMMY_FRAMES. --- gdb/blockframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/blockframe.c') 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) */ -- cgit v1.1