aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-tdep.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22d2553..3a604d8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
+
+ * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
+ use the PDR, just examine prologues instead.
+
Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
start-sanitize-arc
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