This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: breakpoint for avr?
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>, troth at verinet dot com, gdb at sources dot redhat dot com
- Date: Wed, 14 May 2003 09:56:01 -0700
- Subject: Re: breakpoint for avr?
- References: <3EC26895.4090407@redhat.com>
On May 14, 12:02pm, Andrew Cagney wrote:
> Just noticed that the AVR target doesn't provide the BREAKPOINT_FROM_PC
> method.
>
> Up until now the architecture vector providing a default
> breakpoint_from_pc (it would internal error for the AVR case). I
> suspect, up until now, this hasn't been a problem because the AVR was
> always remote.
>
> Anyway, I've just posted a patch to always require breakpoint-from-pc
> and this is causing the AVR grief.
>
> So, is there a breakpoint instruction, or should GDB allow targets that
> have no breakpoint at all?
Presumably, there's some other way of setting breakpoints? Hardware
breakpoints for example?
If so, I think GDB should permit targets that have not breakpoint
instruction.
Kevin