aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-13 23:37:10 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-13 23:37:10 +0000
commit4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e (patch)
tree76908f3062201e08fb131cca2f8260589eb656d6 /gdb/alpha-tdep.c
parentd042121899a763f62c4cf33c5d9c7ad239c73301 (diff)
downloadgdb-4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e.zip
gdb-4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e.tar.gz
gdb-4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e.tar.bz2
* alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
use the PDR, just examine prologues instead.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 81e1d76..b75155a 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -490,6 +490,11 @@ find_proc_desc (pc, next_frame)
0, NULL);
}
+ /* If we never found a PDR for this function in symbol reading, then
+ examine prologues to find the information. */
+ if (sym && ((mips_extra_func_info_t) SYMBOL_VALUE (sym))->pdr.framereg == -1)
+ sym = NULL;
+
if (sym)
{
/* IF this is the topmost frame AND