This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Patch to fix "reverse-step" command error
- From: Hui Zhu <teawater at gmail dot com>
- To: Marc Khouzam <marc dot khouzam at ericsson dot com>, Michael Snyder <msnyder at vmware dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 9 Jun 2009 10:18:29 +0800
- Subject: Re: [RFA] Patch to fix "reverse-step" command error
- References: <daef60380903012210n699d1d94kbb887def12d02e10@mail.gmail.com> <daef60380905052231n339df7dbq21debfea685444c2@mail.gmail.com> <daef60380905060113u275502dfk3c002cac312bf85f@mail.gmail.com> <daef60380905110007j4796811es152f943e86f318fe@mail.gmail.com>
PING
On Mon, May 11, 2009 at 15:07, Hui Zhu<teawater@gmail.com> wrote:
> PING
>
> On Wed, May 6, 2009 at 16:13, Hui Zhu <teawater@gmail.com> wrote:
>> Hi Marc and Michael,
>>
>> Sorry I forget this issue just reproduce in SLED 10.
>>
>> I reproduced it with cvs-head and patch can fix it. ?Michael, 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 insert
>> ? ? ? breakpoint at right address or step in reverse and it stepped
>> ? ? ? into dynsym resolve code.
>>
>> Thanks,
>> Hui
>>
>> On Wed, May 6, 2009 at 13:31, Hui Zhu <teawater@gmail.com> wrote:
>>> Hi Marc,
>>>
>>> I cannot reproduce this issue with cvs-head.
>>> Could you please help me test with this issue?
>>> If both of us cannot reproduce this issue, ?I think I can give up this patch.
>>>
>>> Thanks,
>>> Hui
>>>
>>>
>>> On Mon, Mar 2, 2009 at 14:10, teawater <teawater@gmail.com> wrote:
>>>> Hi Michael,
>>>>
>>>> This patch is for bug in
>>>> http://sourceware.org/ml/gdb-patches/2009-02/msg00246.html.
>>>>
>>>> The reason of bug is when inferior reverse exection into dynsym
>>>> resolve code, gdb doesn't insert breakpoint in right address.
>>>> It just happen in some distributions for example SLED.
>>>>
>>>> This patch make gdb insert breakpoint in right address or step in that case.
>>>>
>>>> 2008-03-02 ?Hui Zhu ?<teawater@gmail.com>
>>>>
>>>> ? ? ? * infrun.c (handle_inferior_event): Make inferior insert
>>>> ? ? ? breakpoint at right address or step in reverse and it stepped
>>>> ? ? ? into dynsym resolve code.
>>>>
>>>> Thanks,
>>>> Hui
>>>>
>>>
>>
>