From: Jim Kingdon Date: Mon, 12 Jul 1993 16:34:23 +0000 (+0000) Subject: * hppa-tdep.c (find_proc_framesize): If there is a frame pointer, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eabbe766c0625a37de5b49f7e9e8e55ac87b5c1c;p=binutils-gdb.git * hppa-tdep.c (find_proc_framesize): If there is a frame pointer, use it. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8ba35ed55bd..cd7304f80e7 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 10204bc69c2..c4a858057f4 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; }