public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/12012] New: gdbserver lost tvariables when disconnected-tracing is ON
@ 2010-09-14 3:31 teawater at gmail dot com
0 siblings, 0 replies; only message in thread
From: teawater at gmail dot com @ 2010-09-14 3:31 UTC (permalink / raw)
To: gdb-prs
(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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-14 3:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14 3:31 [Bug server/12012] New: gdbserver lost tvariables when disconnected-tracing is ON teawater at gmail dot com
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).