Hardware breakpoint limitation issue during the gdb regression test

Luis Gustavo luis_gustavo@mentor.com
Thu Aug 9 00:03:00 GMT 2012


On 08/08/2012 05:55 AM, Terry Guo wrote:
> Hi,
>
> I managed to run gdb "make check" on a real arm cortex-m3 board.
> During this regression test, I saw many failures are caused by "Cannot
> insert hardware breakpoint 8" and "You may have requested too many
> hardware breakpoints/watchpoints". It's true that my arm board only
> supports limited number breakpoints. So how to workaround this
> limitation for regression test? Thanks.
>
> BR,
> Terry
>

You may want to turn these off:

set breakpoint auto-hw on/off
set can-use-hw-watchpoints 1/0

Luis



More information about the Gdb mailing list