break point command Z0 not supported

Mark Salter msalter@redhat.com
Fri Dec 5 12:51:00 GMT 2003


>>>>> Manoj Verma, Noida writes:

> Hi Nitin,
> Your point is well understood. 

> But I have one concern, 
> 1) If I were to implement the GDB remote serial protocol and want to talk to
> 'gdbserver', then is this the right way to go for implementing the breapoint
> mechanism?

Z0 is mostly an efficiency enhancement. With Z0, the remote stub saves the
existing opcode and inserts the breakpoint opcode. This reduces traffic on
the communication channel between stub and gdb.

> 2) Is 'Z0' packet supported for any known target? ( The target I am using is
> 'arm-linux') 

Almost all RedBoot ( http://ecos.sourceware.org/redboot/ ) supported targets
use Z packets.

--Mark



More information about the Gdb mailing list