This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: breakpoint extension for remote protocol, take II
- To: gdb@sourceware.cygnus.com, "J.T. Conklin" <jtc@redbacknetworks.com>
- Subject: Re: breakpoint extension for remote protocol, take II
- From: Andrew Cagney <ac131313@cygnus.com>
- Date: Tue, 08 Jun 1999 23:53:35 +1000
- Organization: Cygnus Solutions
> I've had some time to refine my break/watchpoint extensions, and have
> come up with this revised proposal.
>
> Request Packet
>
> insert break B<type>,<address>[,<length>]
>
> reply OK for success.
> ENN for an error.
>
>
J.T.
Have you considered what to do when there is a choice of software
breakpoints?
Jim Ingham's pointed out to me that in the case of the MIPS/MIPS16 and
ARM/THUMB the breakpoint might be 2 bytes or 4 bytes in size (and the
value different in each case).
For such targets, always sending the length would be easiest. Can any
one see problems with sending the length regardless?
enjoy,
Andrew