[RFA] Patch to fix "reverse-step" command error

Hui Zhu teawater@gmail.com
Wed May 6 05:31:00 GMT 2009


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
>



More information about the Gdb-patches mailing list