This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: break point command Z0 not supported
- From: Mark Salter <msalter at redhat dot com>
- To: manojv at noida dot hcltech dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 5 Dec 2003 07:51:27 -0500 (EST)
- Subject: Re: break point command Z0 not supported
- References: <1B3885BC15C7024C845AAC78314766C501605F4B@EXCH-01>
>>>>> 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