aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/rs6000-tdep.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cf03d72..70337e0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 94aadf2..4d1b73a 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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