From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20261 invoked by alias); 27 Jan 2009 20:27:47 -0000 Received: (qmail 20251 invoked by uid 22791); 27 Jan 2009 20:27:45 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_39,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Jan 2009 20:27:41 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id n0RKRUP9030940; Tue, 27 Jan 2009 14:27:36 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 Jan 2009 14:27:31 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [RFA] Patch to fix "reverse-next" command error Date: Tue, 27 Jan 2009 23:31:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06D3416B@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA04E1BF2D@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA04E1BF2D@ecamlmw720.eamcs.ericsson.se> From: "Marc Khouzam" To: "Marc Khouzam" , "teawater" , "Michael Snyder" , "Pedro Alves" Cc: 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/msg00521.txt.bz2 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=20 > [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 >=20 > Hi, >=20=20 > just to confirm that this fixes the problem for me. >=20=20 > Thanks teawater >=20=20 > Marc >=20 > ________________________________ >=20 > 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 >=20 >=20 >=20 > Hi guys, >=20 > This patch is for bug in=20 > http://sourceware.org/ml/gdb/2009-01/msg00146.html >=20 > 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. >=20 > 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. >=20 > 2009-01-22 Hui Zhu >=20 > * 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. >=20 > OK for mainline? >=20 > Thanks, > Hui >=20 >=20 >=20