diff options
-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; } |