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: Hardware breakpoints / watchpoints


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


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