diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-13 23:37:10 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-13 23:37:10 +0000 |
commit | 4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e (patch) | |
tree | 76908f3062201e08fb131cca2f8260589eb656d6 /gdb/alpha-tdep.c | |
parent | d042121899a763f62c4cf33c5d9c7ad239c73301 (diff) | |
download | gdb-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.c | 5 |
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 |