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]

Re: break point command Z0 not supported


>>>>> 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


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