Is it possible to support gdb command hbreak with target sim ?

Andrew Burgess andrew.burgess@embecosm.com
Tue Sep 29 08:46:53 GMT 2020


* William Tambe via Gdb <gdb@sourceware.org> [2020-09-28 21:29:26 -0500]:

> Is it possible to support gdb command hbreak with target sim ?

There's currently no support for hardware breakpoints in the simulator
target, instead only software breakpoints are supported where GDB
takes responsibility for reading and backing up the old memory
contents before writing in a software breakpoint instruction.

This doesn't mean that hardware breakpoint support couldn't be added.

Thanks,
Andrew


More information about the Gdb mailing list