summaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-03-27 00:21:51 +0000
committerJeff Law <law@redhat.com>2002-03-27 00:21:51 +0000
commit5c183825b986565a4eca8b44615a74f3738466e2 (patch)
treefd82e4edc59c5b3038697b442e200e8104a454ce /gdb/hppa-tdep.c
parent954aa64b3da9bfd135cc60f6d2c6de8a026c57d2 (diff)
downloadgdb-5c183825b986565a4eca8b44615a74f3738466e2.tar.gz
* somread.c (som_symtab_read): Remove some commented out code and
updated related comments. Do not set the minimal symbol table to mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope in a dynamic executable. * hppa-tdep.c (find_proc_framesize): Sanely handle the case where we are unable to find the minimal symbol for the given PC value.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index c27d9641431..e8a68cf3508 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -747,7 +747,9 @@ find_proc_framesize (CORE_ADDR pc)
/* If Save_SP is set, and we're not in an interrupt or signal caller,
then we have a frame pointer. Use it. */
- if (u->Save_SP && !pc_in_interrupt_handler (pc)
+ if (u->Save_SP
+ && !pc_in_interrupt_handler (pc)
+ && msym_us
&& !IN_SIGTRAMP (pc, SYMBOL_NAME (msym_us)))
return -1;