This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/12012] New: gdbserver lost tvariables when disconnected-tracing is ON
- From: "teawater at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 14 Sep 2010 03:31:46 -0000
- Subject: [Bug server/12012] New: gdbserver lost tvariables when disconnected-tracing is ON
- Reply-to: sourceware-bugzilla at sourceware dot org
(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) info tvariables
Name Initial Current
$trace_timestamp 0 <undefined>
$a 0 <undefined>
$b 0 <undefined>
(gdb) trace 10
Tracepoint 1 at 0x8048353: file 1.c, line 10.
(gdb) tstart
(gdb) quit
A debugging session is active.
Inferior 1 [Remote target] will be killed.
Quit anyway? (y or n) n
Not confirmed.
(gdb) disconnect
Ending remote debugging.
(gdb) quit
Trace is already running on the target.
Created trace state variable $b for target's variable 3.
Tracepoint 1 at 0x8048353: file 1.c, line 10.
Created tracepoint 1 for target's tracepoint 1 at 0x8048353.
(gdb) info tracepoints
Num Type Disp Enb Address What
1 tracepoint keep y 0x08048353 in p at 1.c:10
(gdb) info tvariables
Name Initial Current
$b 0 0
Trace is already running on the target.
Sending packet: $qTfV#81...Packet received: 3:0:0:62
Sending packet: $qTsV#8e...Packet received: l
Created trace state variable $b for target's variable 3.
server just send 1 tracepoint. Lost the others.
--
Summary: gdbserver lost tvariables when disconnected-tracing is
ON
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: server
AssignedTo: unassigned at sourceware dot org
ReportedBy: teawater at gmail dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12012
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.