* alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 13 Mar 1995 23:37:10 +0000 (23:37 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 13 Mar 1995 23:37:10 +0000 (23:37 +0000)
use the PDR, just examine prologues instead.

gdb/ChangeLog
gdb/alpha-tdep.c

index 22d255397e1f996aa592f1d513b4a5342a69d697..3a604d8acf3e459a49b3679d77f2cbaf7ebe49b4 100644 (file)
@@ -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
index 81e1d76cd03cdf70701f5396219e0f019132b025..b75155a690434fab8392817efd770a38053a4e67 100644 (file)
@@ -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
This page took 0.027471 seconds and 4 git commands to generate.