Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/RFC] tracepoint gdbrsp: add -1 introduce for QTFrame:@var{n}
@ 2010-08-15  7:17 Hui Zhu
  2010-08-15 17:20 ` Michael Snyder
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Hui Zhu @ 2010-08-15  7:17 UTC (permalink / raw)
  To: gdb-patches ml; +Cc: Eli Zaretskii

Hi,

I found that there is not introduce for -1 in QTFrame:@var{n}.So I add one.

For example:
(gdb) tfind none
Sending packet: $QTFrame:ffffffff#fa...Packet received: OK
No longer looking at any trace frame
Sending packet: $g#67...Packet received:
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c05e33c9ff7f000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000f02ad7a8537f000000020000330000002b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f03000000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000801f00003b00000000000000
Sending packet: $m7f53a8d72af0,1#2c...Packet received: 48
Sending packet: $m7f53a8d72af0,1#2c...Packet received: 48
Sending packet: $m7f53a8d72af0,9#34...Packet received: 4889e7e82806000049
#0  0x00007f53a8d72af0 in ?? () from /lib64/ld-linux-x86-64.so.2

BTW, I found that tracepoint gdbrsp use a lot of  "int", I think it
will be not very friendly to cross compile debug.  What do you think
about it?

Thanks,
Hui

2010-08-15  Hui Zhu  <teawater@gmail.com>

	* gdb.texinfo (Tracepoint Packets): add introduce for -1.


---
 doc/gdb.texinfo |   12 ++++++++++++
 1 file changed, 12 insertions(+)

--- a/doc/gdb.texinfo
+++ b/doc/gdb.texinfo
@@ -33133,6 +33133,18 @@ The selected trace frame records a hit o

 @end table

+If @var{n} is -1, it mean that stop debugging trace snapshots,
+resume live debugging.
+
+Replies:
+@table @samp
+@item OK
+The packet was understood and carried out.
+@item E @var{NN}
+A badly formed request was detected, or an error was encountered while
+relocating the instruction.
+@end table
+
 @item QTFrame:pc:@var{addr}
 Like @samp{QTFrame:@var{n}}, but select the first tracepoint frame after the
 currently selected frame whose PC is @var{addr};


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-08-19  7:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-15  7:17 [RFA/RFC] tracepoint gdbrsp: add -1 introduce for QTFrame:@var{n} Hui Zhu
2010-08-15 17:20 ` Michael Snyder
2010-08-15 18:07 ` Eli Zaretskii
2010-08-15 18:14 ` Pedro Alves
2010-08-15 18:47 ` Pedro Alves
2010-08-15 19:05   ` Michael Snyder
2010-08-15 23:10     ` Pedro Alves
2010-08-19  7:44       ` Hui Zhu
2010-08-19  7:49         ` Hui Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox