Automatically use hardware watchpoints

Vladimir Prus vladimir@codesourcery.com
Wed Nov 8 18:55:00 GMT 2006


Vladimir Prus wrote:

> 
> Hello!
> 
> At the moment, gdb is not very good at debugging applications in flash:
> - you must remember to use 'hbreak' and not 'break'
> - a number of commands (like "next") want to use breakpoints
>         internally. Since software breakpoints do no work, those commands
>         do no work either.
> 
> This patch makes insert_bp_location automatically decide what breakpoint
> type should be used if the target provides a memory map.

And here's a version of this patch that actually includes doc changes.

- Volodya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AUTO_HARDWARE.diff
Type: text/x-diff
Size: 6695 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20061108/4ba9d093/attachment.bin>


More information about the Gdb-patches mailing list