Hardware Breakpoints
Andrew Cagney
ac131313@cygnus.com
Sun Mar 17 17:09:00 GMT 2002
> Hi,
>
> I'm trying to use hardware breakpoints in gdb (in the new
> gdbarchitecture stuff) and cannot figure out how it all works. Are their
> any gdbarch things for hardware breakpoints and watchpoints?
>
> Are there any targets that use hardware breakpoints and watchpoints in
> the new gdbarch stuff?
No. But there is a reason.
The existing h/w breakpoint macros should be moved to the target vector
and not the architecture vector. This is because the target, and not
the architecture, determines the presence of a breakpoint mechanism.
Unfortunatly, so far, no one has made this change, sigh!
Interested?
Andrew
--
e.g., a sim target might support h/w breakpoints when the architecture
doesn't have the, a native target may not support h/w breakpoints even
when the architecture does have them.
More information about the Gdb
mailing list