This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Hardware breakpoints / watchpoints
- From: "Ramana Radhakrishnan" <ramana dot radhakrishnan at codito dot com>
- To: jbeniston at compxs dot com
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 6 Jan 2004 19:49:08 +0530 (IST)
- Subject: Re: Hardware breakpoints / watchpoints
- Reply-to: ramana dot radhakrishnan at codito dot com
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