This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]