From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26133 invoked by alias); 9 Sep 2012 12:55:31 -0000 Received: (qmail 26113 invoked by uid 22791); 9 Sep 2012 12:55:30 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,LOTS_OF_MONEY X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Sep 2012 12:55:17 +0000 From: "qiyao at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug server/12012] gdbserver lost tvariables when disconnected-tracing is ON Date: Sun, 09 Sep 2012 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qiyao at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: qiyao at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.6 X-Bugzilla-Changed-Fields: Status CC Resolution AssignedTo Target Milestone Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00330.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12012 Yao Qi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |qiyao at gcc dot gnu.org Resolution| |FIXED AssignedTo|unassigned at sourceware |qiyao at gcc dot gnu.org |dot org | Target Milestone|--- |7.6 --- Comment #1 from Yao Qi 2012-09-09 12:55:15 UTC --- This bug was fixed by this patch, [PATCH] Fix a bug on uploading tsv http://sourceware.org/ml/gdb-patches/2012-09/msg00019.html $ ./gdb ./testsuite/gdb.base/break GNU gdb (GDB) 7.5.50.20120909-cvs Copyright (C) 2012 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: ... Reading symbols from /home/yao/Source/gnu/gdb/cvs/build-x86/gdb/testsuite/gdb.base/break...done. (gdb) tvariable $a Trace state variable $a created, with initial value 0. (gdb) tvariable $b Trace state variable $b created, with initial value 0. (gdb) set disconnected-tracing on (gdb) trace main Tracepoint 1 at 0x80484c1: file ../../../src/gdb/testsuite/gdb.base/break.c, line 89. (gdb) target remote :1234 Remote debugging using :1234 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 0x451c92b0 in _start () from /lib/ld-linux.so.2 (gdb) tstart (gdb) disconnect Trace is running and will continue after detach; detach anyway? (y or n) y Ending remote debugging. Quit GDB and start it again, $ ./gdb ./testsuite/gdb.base/break GNU gdb (GDB) 7.5.50.20120909-cvs Copyright (C) 2012 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: ... Reading symbols from /home/yao/Source/gnu/gdb/cvs/build-x86/gdb/testsuite/gdb.base/break...done. (gdb) target remote :1234 Remote debugging using :1234 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 0x451c92b0 in _start () from /lib/ld-linux.so.2 Trace is already running on the target. Tracepoint 1 at 0x80484c1: file ../../../src/gdb/testsuite/gdb.base/break.c, line 89. Created tracepoint 1 for target's tracepoint 1 at 0x80484c1. (gdb) info tvariables Name Initial Current $trace_timestamp 0 1347195007109146 $a 0 0 $b 0 0 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.