From b0e932ad4557ff6261dc46ffd87eec774170caca Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 2 Apr 1993 20:28:52 +0000 Subject: [PATCH] * rs6000-tdep.c (frameless_function_invocation): Don't even think about framlessness except on the innermost frame. --- gdb/ChangeLog | 3 +++ gdb/rs6000-tdep.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cf03d722247..70337e05215 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 94aadf24d99..4d1b73a4929 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 -- 2.30.2