aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-30 20:58:32 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-30 20:58:32 +0000
commite492f9d624bd89cb1a3c3d4998a5a630d2553e11 (patch)
tree8c5d1ccad5239f2e0d609d48365d040dfeadda73
parent7b7adad08dcd80b101a1a68a9fc59fb287db49b9 (diff)
downloadfsf-binutils-gdb-e492f9d624bd89cb1a3c3d4998a5a630d2553e11.zip
fsf-binutils-gdb-e492f9d624bd89cb1a3c3d4998a5a630d2553e11.tar.gz
fsf-binutils-gdb-e492f9d624bd89cb1a3c3d4998a5a630d2553e11.tar.bz2
2004-04-30 Andrew Cagney <cagney@redhat.com>
* blockframe.c (find_pc_partial_function): Delete use of DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and DEPRECATED_SIGTRAMP_END.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/blockframe.c17
2 files changed, 4 insertions, 17 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 032c75d..aaba0f9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2004-04-30 Andrew Cagney <cagney@redhat.com>
+ * blockframe.c (find_pc_partial_function): Delete use of
+ DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
+ DEPRECATED_SIGTRAMP_END.
+
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 7672e90..6e9cf58 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -352,23 +352,6 @@ find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
&& section == cache_pc_function_section)
goto return_cached_value;
- /* If sigtramp is in the u area, it counts as a function (especially
- important for step_1). */
- /* 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 = 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;
- }
-
msymbol = lookup_minimal_symbol_by_pc_section (mapped_pc, section);
pst = find_pc_sect_psymtab (mapped_pc, section);
if (pst)