diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-12 16:34:23 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-12 16:34:23 +0000 |
commit | eabbe766c0625a37de5b49f7e9e8e55ac87b5c1c (patch) | |
tree | 858234b4321629af0f4e58c2a91f0c7ccc80d63b /gdb/hppa-tdep.c | |
parent | 4988d8c722a898aab52e189dfb97c763951af3f6 (diff) | |
download | gdb-eabbe766c0625a37de5b49f7e9e8e55ac87b5c1c.zip gdb-eabbe766c0625a37de5b49f7e9e8e55ac87b5c1c.tar.gz gdb-eabbe766c0625a37de5b49f7e9e8e55ac87b5c1c.tar.bz2 |
* hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 10204bc..c4a8580 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -327,6 +327,11 @@ find_proc_framesize(pc) if (!u) return -1; + if (u->Save_SP) + /* If this bit is set, it means there is a frame pointer and we should + use it. */ + return -1; + return u->Total_frame_size << 3; } |