Hardware breakpoints / watchpoints

Ramana Radhakrishnan ramana.radhakrishnan@codito.com
Tue Jan 6 14:07:00 GMT 2004


Thus spake Jon Beniston
> Hi,
>
> Can anyone please shed a little more info on the current status of h/w
> breakpoints and watchpoints? How do they fit in with multi arch targets?
There are target methods for operating on hardware breakpoints / watchpoints.

target.to_insert_hw_break(watch)point . So depending on the target
specification the implementation is present.
A case in study would be procf implementations of hw breakpoints /
watchpoints with procfs . look at nto-procfs.c for the QNX Neutrino as a
case study of stuff.

You can also look at remote_insert_hw_breakpoint in remote.c . The
simulator must also have such an interface since the simulator is one more
target for gdb.

cheers
Ramana










> Is there a standard interface for setting them in a simulator?
>
> Cheers,
> JonB
>
>
>


----
Ramana Radhakrishnan
Codito Technologies



More information about the Gdb mailing list