From 4f69fe4692bd5be12c0b3c3e8b9f6808e2565c1e Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 13 Mar 1995 23:37:10 +0000 Subject: [PATCH] * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't use the PDR, just examine prologues instead. --- gdb/ChangeLog | 5 +++++ gdb/alpha-tdep.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 22d255397e..3a604d8acf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 13 15:25:47 1995 Jim Kingdon + + * 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 start-sanitize-arc diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 81e1d76cd0..b75155a690 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 -- 2.34.1