This is the mail archive of the 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: Bug with watchpoints on Linux

At 19:25 21/11/2001 , Eli Zaretskii a écrit:
> > Date: Wed, 21 Nov 2001 13:01:59 +0100
> > From: Pierre Muller <>
> > 
> >    But at the second run, the program is never stopped because
> > of the changes to this global variable.
> > 
> >    It seems like there is a problem with the hardware watchpoint
> > resetting.
> > 
> >    I tested this on only one Linux machine,
> > but both the main and the 5.1 branches show this problem.
>The DJGPP port doesn't have this problem.

   Nevertheless, according to my debug,
I expect that most targets using 
i386 hardware watchpoints and 
not calling i386_cleanup_dregs
will show this problem.

   I think that this is a really nasty bug for 
the i386 linux target for 5.1 release....

    What do we do about this?
I proposed to add a call to i386_cleanup_dregs
for all targets using the standard 
i386 hardware watchpoints, but 
Eli seems still not convinced by my reports....

Pierre Muller
Institut Charles Sadron
6,rue Boussingault
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

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