Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb Recognize the egcs function prologue. Patch fr...



details:   https://anonhg.NetBSD.org/src/rev/1a11d8b5dc41
branches:  trunk
changeset: 472100:1a11d8b5dc41
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Apr 21 00:19:09 1999 +0000

description:
Recognize the egcs function prologue.  Patch from thorpej.

diffstat:

 gnu/dist/gdb/alpha-tdep.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r feddba19f76c -r 1a11d8b5dc41 gnu/dist/gdb/alpha-tdep.c
--- a/gnu/dist/gdb/alpha-tdep.c Wed Apr 21 00:00:06 1999 +0000
+++ b/gnu/dist/gdb/alpha-tdep.c Wed Apr 21 00:19:09 1999 +0000
@@ -498,6 +498,10 @@
                 epilogue is reached.  */
              break;
          }
+       else if ((word & 0xffe01fff) == 0x43c0153e)     /* subq $sp,n,$sp */
+         {
+           frame_size += (word & 0x001fe000) >> 13;
+         }
        else if ((word & 0xfc1f0000) == 0xb41e0000      /* stq reg,n($sp) */
                 && (word & 0xffff0000) != 0xb7fe0000)  /* reg != $zero */
          {



Home | Main Index | Thread Index | Old Index