This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Hardware breakpoints when using i386 simulator
- To: gdb at sources dot redhat dot com
- Subject: Re: Hardware breakpoints when using i386 simulator
- From: David Welch <david dot welch at st-edmund-hall dot oxford dot ac dot uk>
- Date: Fri, 28 Jul 2000 13:03:47 +0100
In message <398031EE.14D2D017@cygnus.com> Fernando Nasser <fnasser@cygnus.com> writes:
> Andrew Cagney wrote:
> >
> > Hardware breakpoints or watchpoints?
> >
Watchpoints, sorry for the confusion.
> > For watchpoints, these are still (unfortunatly) determined at compile
> > time (bug). Your target (what was it?) may not have them enabled.
> > Hardware watchpoint configury needs to be added to the gdbarch vector.
> >
>
> Right. I am adding it soon.
>
> In the meanwhile, add to your local copy of the config/i386/tm-embed.h the
> following horrible hack:
>
[...]
>
I did approximately what you suggest and it seems to work quite well.