This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Patch to fix "reverse-next" command error
- From: Hui Zhu <teawater at gmail dot com>
- To: Michael Snyder <msnyder at vmware dot com>
- Cc: Marc Khouzam <marc dot khouzam at ericsson dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 11 May 2009 15:07:31 +0800
- Subject: Re: [RFA] Patch to fix "reverse-next" command error
- References: <daef60380901220100v55cd8a28u76dae725f85eca8f@mail.gmail.com> <daef60380905052300y20cf1f81y59b945a9a22a8767@mail.gmail.com>
PING
On Wed, May 6, 2009 at 14:00, Hui Zhu <teawater@gmail.com> wrote:
> Hi Michael,
>
> I try this issue with cvs-head. ?It still affect cvs-head.
> And I try the patch, it can fix this issue. ?It's time close to 7.0
> branch. ?So could you please help me review it?
>
> The attachment is the new patch follow cvs-head.
>
> 2009-05-06 ?Hui Zhu ?<teawater@gmail.com>
>
> ? ? ? * infrun.c (handle_inferior_event): Make inferior step if it
> ? ? ? stepping over a function call in reverse , and stop at the
> ? ? ? start address of the function.
>
> Thanks,
> Hui
>
> On Thu, Jan 22, 2009 at 17:00, teawater <teawater@gmail.com> wrote:
>> Hi guys,
>>
>> This patch is for bug in http://sourceware.org/ml/gdb/2009-01/msg00146.html
>>
>> This issue is because sometime the inferior is already in function
>> start address (i.e. plt), set a breakpoint and continue will make
>> "reverse-next" work error.
>>
>> This patch make inferior step if it reverse step and stop at the
>> function start address.
>> It tested OK with process record patch and testsuite gdb.twreverse in
>> branch reverse-20081226-branch.
>>
>> 2009-01-22 ?Hui Zhu ?<teawater@gmail.com>
>>
>> ? ? ? ?* infrun.c (handle_inferior_event): Make inferior step if it
>> ? ? ? ?stepping over a function call in reverse , and stop at the
>> ? ? ? ?start address of the function.
>>
>> OK for mainline?
>>
>> Thanks,
>> Hui
>>
>