diff options
author | Jeff Law <law@redhat.com> | 2002-03-27 00:21:51 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2002-03-27 00:21:51 +0000 |
commit | 3fa41cdbae5291fd9c33c2627db06e42074f2d60 (patch) | |
tree | d3ecec5568a53e11c6a5cf45dd1251118e68be85 /gdb/hppa-tdep.c | |
parent | b99d18333dd47aa5750a26999e683480f16fb1d4 (diff) | |
download | gdb-3fa41cdbae5291fd9c33c2627db06e42074f2d60.zip gdb-3fa41cdbae5291fd9c33c2627db06e42074f2d60.tar.gz gdb-3fa41cdbae5291fd9c33c2627db06e42074f2d60.tar.bz2 |
* 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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index c27d964..e8a68cf 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; |