* rs6000-tdep.c (frameless_function_invocation): Don't even think
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 2 Apr 1993 20:28:52 +0000 (20:28 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 2 Apr 1993 20:28:52 +0000 (20:28 +0000)
about framlessness except on the innermost frame.

gdb/ChangeLog
gdb/rs6000-tdep.c

index cf03d72..70337e0 100644 (file)
@@ -1,5 +1,8 @@
 Fri Apr  2 08:23:14 1993  Jim Kingdon  (kingdon@cygnus.com)
 
+       * rs6000-tdep.c (frameless_function_invocation): Don't even think
+       about framlessness except on the innermost frame.
+
        * xcoffexec.c: Call fatal() not abort().
 
        * stabsread.c (patch_block_stabs): If stab & no symbol, make
index 94aadf2..4d1b73a 100644 (file)
@@ -956,6 +956,10 @@ int pcsaved;
   CORE_ADDR func_start;
   struct aix_framedata fdata;
 
+  if (fi->next != NULL)
+    /* Don't even think about framelessness except on the innermost frame.  */
+    return 0;
+  
   func_start = get_pc_function_start (fi->pc) + FUNCTION_START_OFFSET;
 
   /* If we failed to find the start of the function, it is a mistake