summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1999-04-21 00:19:09 +0000
committertv <tv@NetBSD.org>1999-04-21 00:19:09 +0000
commit74dfd62bad1bd7372e67ca710b1efb22061caff5 (patch)
treecde517ab83a8acfe855277c7cb096f77778efad5 /gnu
parentdc63f8c31a0f267a6de844c6692544b59656afc1 (diff)
Recognize the egcs function prologue. Patch from thorpej.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/gdb/alpha-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/dist/gdb/alpha-tdep.c b/gnu/dist/gdb/alpha-tdep.c
index 01a6f84f15c..cbef83db3f9 100644
--- a/gnu/dist/gdb/alpha-tdep.c
+++ b/gnu/dist/gdb/alpha-tdep.c
@@ -498,6 +498,10 @@ heuristic_proc_desc(start_pc, limit_pc, next_frame)
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 */
{