From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4870 invoked by alias); 30 Jan 2009 04:11:42 -0000 Received: (qmail 4862 invoked by uid 22791); 30 Jan 2009 04:11:42 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_39,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.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Jan 2009 04:11:37 +0000 Received: by ti-out-0910.google.com with SMTP id d10so38436tib.12 for ; Thu, 29 Jan 2009 20:11:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.110.41.17 with SMTP id o17mr292113tio.43.1233288694275; Thu, 29 Jan 2009 20:11:34 -0800 (PST) In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA06D3416B@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA04E1BF2D@ecamlmw720.eamcs.ericsson.se> <6D19CA8D71C89C43A057926FE0D4ADAA06D3416B@ecamlmw720.eamcs.ericsson.se> Date: Fri, 30 Jan 2009 16:25:00 -0000 Message-ID: Subject: Re: [RFA] Patch to fix "reverse-next" command error From: teawater To: Marc Khouzam Cc: Michael Snyder , Pedro Alves , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-01/txt/msg00535.txt.bz2 Hi Marc, Could you please send more message about your issue? Thanks, Hui On Wed, Jan 28, 2009 at 04:27, Marc Khouzam wrote: > Hi again, > > I just noticed I still have the problem of jumping library functions > when using reverse-step. Seems ok for reverse-next. > > Thanks > > Marc > >> -----Original Message----- >> From: gdb-patches-owner@sourceware.org >> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Marc Khouzam >> Sent: Tuesday, January 27, 2009 5:38 AM >> To: teawater; Michael Snyder; Pedro Alves >> Cc: gdb-patches@sourceware.org >> Subject: RE: [RFA] Patch to fix "reverse-next" command error >> >> Hi, >> >> just to confirm that this fixes the problem for me. >> >> Thanks teawater >> >> Marc >> >> ________________________________ >> >> From: teawater [mailto:teawater@gmail.com] >> Sent: Thu 1/22/2009 4:00 AM >> To: Michael Snyder; Pedro Alves >> Cc: Marc Khouzam; gdb-patches@sourceware.org >> Subject: [RFA] Patch to fix "reverse-next" command error >> >> >> >> Hi guys, >> >> This patch is for bug in >> http://sourceware.org/ml/gdb/2009-01/msg00146.html >> >> This issue is because sometime the inferior is already in function >> start address (i.e. plt), set a breakpoint and continue will make >> "reverse-next" work error. >> >> This patch make inferior step if it reverse step and stop at the >> function start address. >> It tested OK with process record patch and testsuite gdb.twreverse in >> branch reverse-20081226-branch. >> >> 2009-01-22 Hui Zhu >> >> * infrun.c (handle_inferior_event): Make inferior step if it >> stepping over a function call in reverse , and stop at the >> start address of the function. >> >> OK for mainline? >> >> Thanks, >> Hui >> >> >> >