This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Remote set thread breakpoint
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Wed, 08 Sep 2004 16:11:07 +0200
- Subject: Remote set thread breakpoint
Hi
I'm thinking about extending the remote protocol for thread breakpoints.
The easiest solution would be to just add another data field to the Z
commands, like:
Ztype,addr,length,threadid
If threadid is given, gdbserver can use it. If it's -1 or not present (as in
the present implementation) it's a global breakpoint.
But if this would cause incompatibilities with existing parsers it may
be better to create a new command, even if it's just Z5 and the rest
is the same.
What would be better? Or is something like that already in the pipe?
Thanks
bye Fabi