This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Patch to fix "reverse-step" command error
- From: teawater <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, 2 Mar 2009 14:05:55 +0800
- Subject: [RFA] Patch to fix "reverse-step" command error
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