From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15476 invoked by alias); 6 May 2009 05:31:44 -0000 Received: (qmail 15468 invoked by uid 22791); 6 May 2009 05:31:44 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 05:31:37 +0000 Received: by ti-out-0910.google.com with SMTP id a1so525649tib.12 for ; Tue, 05 May 2009 22:31:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.8.5 with SMTP id 5mr58521tih.14.1241587895262; Tue, 05 May 2009 22:31:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 06 May 2009 05:31:00 -0000 Message-ID: Subject: Re: [RFA] Patch to fix "reverse-step" command error From: Hui Zhu To: Marc Khouzam Cc: "gdb-patches@sourceware.org" , Michael Snyder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00102.txt.bz2 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 patc= h. Thanks, Hui On Mon, Mar 2, 2009 at 14:10, teawater 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 ca= se. > > 2008-03-02 =A0Hui Zhu =A0 > > =A0 =A0 =A0 * infrun.c (handle_inferior_event): Make inferior insert > =A0 =A0 =A0 breakpoint at right address or step in reverse and it stepped > =A0 =A0 =A0 into dynsym resolve code. > > Thanks, > Hui >