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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8ba35ed..cd7304f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 12 11:29:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hppa-tdep.c (find_proc_framesize): If there is a frame pointer, + use it. + Sun Jul 11 19:35:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * symtab.c (decode_line_1): Use end of block to figure out whether 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; } |