* 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 cf03d7222479bae06586aa0cf1558b0e138bece4..70337e052156feeaaa9d23f035e1c403f7390bbe 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 94aadf24d99caea1fe0d8fc60a61563ca285ebab..4d1b73a492938dbe9feb7572d22bffdc5ae7619c 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