summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-23 15:16:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-23 15:16:47 +0000
commit0ec747947115a207a720316a4267e0bbb02449c2 (patch)
tree40ad141f2e38dccafcab7fe9c26e31383835697f /gdb/blockframe.c
parent78e3c18d4f09c34db039d9242cd383040fd585f6 (diff)
downloadgdb-0ec747947115a207a720316a4267e0bbb02449c2.tar.gz
2004-03-23 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. * gdbarch.h, gdbarch.c: Re-generate. * i386obsd-tdep.c (i386obsd_init_abi): Update. * i386nbsd-tdep.c (i386nbsd_init_abi): Update. * i386bsd-tdep.c (i386bsd_init_abi): Update. * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) (DEPRECATED_SIGTRAMP_START): Update. * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) (DEPRECATED_SIGTRAMP_START): Update. * blockframe.c (find_pc_sect_partial_function): Update. * arch-utils.c (legacy_pc_in_sigtramp): Update. Index: doc/ChangeLog 2004-03-23 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Deprecate references to SIGTRAMP_START and SIGTRAMP_END.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index d119f932740..5fd20f0e43d 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -382,11 +382,16 @@ find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
/* If sigtramp is in the u area, it counts as a function (especially
important for step_1). */
- if (SIGTRAMP_START_P ()
+ /* NOTE: cagney/2004-03-16: Determining if the PC is in a signal
+ trampoline typically depends on the detailed analysis of dynamic
+ information obtained from the inferior yet this function is
+ expected to work using static information obtained from the
+ symbol table. */
+ if (DEPRECATED_SIGTRAMP_START_P ()
&& DEPRECATED_PC_IN_SIGTRAMP (mapped_pc, (char *) NULL))
{
- cache_pc_function_low = SIGTRAMP_START (mapped_pc);
- cache_pc_function_high = SIGTRAMP_END (mapped_pc);
+ cache_pc_function_low = DEPRECATED_SIGTRAMP_START (mapped_pc);
+ cache_pc_function_high = DEPRECATED_SIGTRAMP_END (mapped_pc);
cache_pc_function_name = "<sigtramp>";
cache_pc_function_section = section;
goto return_cached_value;