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: breakpoint for avr?


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


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