public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/12012] gdbserver lost tvariables when disconnected-tracing is ON
       [not found] <bug-12012-4717@http.sourceware.org/bugzilla/>
@ 2012-09-09 12:55 ` qiyao at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: qiyao at gcc dot gnu.org @ 2012-09-09 12:55 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12012

Yao Qi <qiyao at gcc dot gnu.org> 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 <qiyao at gcc dot gnu.org> 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 <http://gnu.org/licenses/gpl.html>   
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:                                     
<http://www.gnu.org/software/gdb/bugs/>...                                      
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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-09 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12012-4717@http.sourceware.org/bugzilla/>
2012-09-09 12:55 ` [Bug server/12012] gdbserver lost tvariables when disconnected-tracing is ON qiyao at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).