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
commit3fa41cdbae5291fd9c33c2627db06e42074f2d60 (patch)
treed3ecec5568a53e11c6a5cf45dd1251118e68be85 /gdb/hppa-tdep.c
parentb99d18333dd47aa5750a26999e683480f16fb1d4 (diff)
downloadbinutils-gdb-3fa41cdbae5291fd9c33c2627db06e42074f2d60.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;