aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-02 20:28:52 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-02 20:28:52 +0000
commitb0e932ad4557ff6261dc46ffd87eec774170caca (patch)
tree7871353c1f939d84fb1868e74883c1fa88b50d5d /gdb
parent0848ad1c4da297c06f56855124aaf11b2cc30c71 (diff)
downloadgdb-b0e932ad4557ff6261dc46ffd87eec774170caca.zip
gdb-b0e932ad4557ff6261dc46ffd87eec774170caca.tar.gz
gdb-b0e932ad4557ff6261dc46ffd87eec774170caca.tar.bz2
* rs6000-tdep.c (frameless_function_invocation): Don't even think
about framlessness except on the innermost frame.
Diffstat (limited to 'gdb')
-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