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]

Re: Hardware breakpoints when using i386 simulator



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.

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