This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] generic_dummy glitch in arm-tdep.c
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: rearnsha at arm dot com, cagney at redhat dot com
- Date: Fri, 30 Aug 2002 17:55:51 -0700
- Subject: [RFA] generic_dummy glitch in arm-tdep.c
- Organization: Red Hat, Inc.
Add (!USING_GENERIC_DUMMY_FRAMES) to if conditional.
This block should only be executed if we're using the
ancient code-on-the-stack style of dummy frames.
2002-08-30 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_init_extra_frame_info): Narrow the 'if'
conditional: this block should only be executed if
not-using-generic-dummy-frames.
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.69
diff -p -r1.69 arm-tdep.c
*** arm-tdep.c 24 Aug 2002 00:21:34 -0000 1.69
--- arm-tdep.c 31 Aug 2002 00:50:28 -0000
*************** arm_init_extra_frame_info (int fromleaf,
*** 1143,1149 ****
fi->extra_info->frameoffset = 0;
}
! else if (PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
{
CORE_ADDR rp;
CORE_ADDR callers_sp;
--- 1143,1150 ----
fi->extra_info->frameoffset = 0;
}
! else if (!USE_GENERIC_DUMMY_FRAMES
! && PC_IN_CALL_DUMMY (fi->pc, sp, fi->frame))
{
CORE_ADDR rp;
CORE_ADDR callers_sp;