Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: teawater <teawater@gmail.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: Marc Khouzam <marc.khouzam@ericsson.com>,
	 	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [RFA] Patch to fix "reverse-step" command error
Date: Mon, 02 Mar 2009 06:06:00 -0000	[thread overview]
Message-ID: <daef60380903012205x1c3de3c6w41b3244d83cc3e5c@mail.gmail.com> (raw)

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


             reply	other threads:[~2009-03-02  6:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02  6:06 teawater [this message]
2009-03-02  6:10 teawater
2009-05-06  5:31 ` Hui Zhu
2009-05-06  8:13   ` Hui Zhu
2009-05-11  7:07     ` Hui Zhu
2009-06-09  2:18       ` Hui Zhu
2009-06-21 23:12         ` Michael Snyder
2009-06-22  1:52           ` Marc Khouzam
2009-06-22  2:18             ` Hui Zhu
2009-06-22  3:46             ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=daef60380903012205x1c3de3c6w41b3244d83cc3e5c@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    --cc=msnyder@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox