From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12769 invoked by alias); 16 Feb 2009 08:57:39 -0000 Received: (qmail 12760 invoked by uid 22791); 16 Feb 2009 08:57:38 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_12,J_CHICKENPOX_74,SARE_MSGID_LONG40,SPF_PASS,WEIRD_PORT X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.242) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Feb 2009 08:57:28 +0000 Received: by rv-out-0708.google.com with SMTP id c5so1410454rvf.48 for ; Mon, 16 Feb 2009 00:57:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.20.7 with SMTP id x7mr2605247rvi.14.1234774646180; Mon, 16 Feb 2009 00:57:26 -0800 (PST) In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA06EC2DCA@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA04E1BF2D@ecamlmw720.eamcs.ericsson.se> <6D19CA8D71C89C43A057926FE0D4ADAA06D3416B@ecamlmw720.eamcs.ericsson.se> <6D19CA8D71C89C43A057926FE0D4ADAA06E85695@ecamlmw720.eamcs.ericsson.se> <6D19CA8D71C89C43A057926FE0D4ADAA06EC2DCA@ecamlmw720.eamcs.ericsson.se> Date: Mon, 16 Feb 2009 10:26: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-02/txt/msg00330.txt.bz2 Hi Marc, I try it again. This test is still OK with me. Could remove stopped.diff patch and try it again? Or send me a stopped.diff patch? Thanks, Hui On Fri, Feb 13, 2009 at 23:23, Marc Khouzam wrote: >> -----Original Message----- >> From: teawater [mailto:teawater@gmail.com] >> Sent: Wednesday, February 11, 2009 9:59 PM >> To: Marc Khouzam >> Cc: Michael Snyder; Pedro Alves; gdb-patches@sourceware.org >> Subject: Re: [RFA] Patch to fix "reverse-next" command error >> >> Hi Marc, >> >> I can't reproduce this issue with or without >> "fix-reverse-plt-error.txt". > >> Could you try it with CVS-head version and new Precord patch >> in attachment? >> >> Thanks, >> Hui > > Thanks for putting all the patches in a single attachement, it was > much easier like that. (there was no patch 4. Is it not needed > anymore?) > > I'm still getting the bug. > I have HEAD from Feb 12th. > + the Precord patches you sent. > + fix-reverse-plt-error.txt > + stopped.diff from Volodya (although it is not needed for this test) > > I compile with > g++ (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux) > > My linux is (uname -a) > Linux camoc0002 2.6.16.53-0.16-smp #1 SMP Tue Oct 2 16:57:49 UTC 2007 > i686 i686 i386 GNU/Linux > > Again, here is the output. > Could it be related to my printf library? > > > GNU gdb (GDB) 6.8.50.20090212-cvs > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu". > For bug reporting instructions, please see: > ... > (gdb) l > 1 #include > 2 int main() > 3 { > 4 char* cptr = "Thread 1"; > 5 int b[2] = {5,8}; > 6 b[0] = 6; b[1] = 9; > 7 printf("Thread 1, loop \n"); > 8 printf("Thread 2, loop \n"); > 9 printf("Thread 3, loop \n"); > 10 return 1; > (gdb) b main > Breakpoint 1 at 0x8048485: file a.cc, line 4. > (gdb) r > Starting program: /local/home/lmckhou/testing/a.out > > Breakpoint 1, main () at a.cc:4 > 4 char* cptr = "Thread 1"; > (gdb) rec > (gdb) b 10 > Breakpoint 2 at 0x80484cc: file a.cc, line 10. > (gdb) c > Continuing. > Thread 1, loop > Thread 2, loop > Thread 3, loop > > Breakpoint 2, main () at a.cc:10 > 10 return 1; > (gdb) rs > 9 printf("Thread 3, loop \n"); > (gdb) > 8 printf("Thread 2, loop \n"); > (gdb) > > No more reverse-execution history. > main () at a.cc:4 > 4 char* cptr = "Thread 1"; >