From: "Francisco Pastor" Newsgroups: comp.os.msdos.djgpp Subject: Re: Debug watchpoints in CWSDPMI. Date: Tue, 17 Apr 2001 16:03:06 +0200 Organization: Telefonica Transmision de Datos Lines: 29 Message-ID: <9bhhqg$bfo$1@talia.mad.ttd.net> References: NNTP-Posting-Host: ppp157.aimme.es X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" escribió en el mensaje news:Pine DOT SUN DOT 3 DOT 91 DOT 1010417165008 DOT 15278J-100000 AT is... > > On Tue, 17 Apr 2001, Francisco Pastor wrote: > > > Please, somedy know if the DPMI services to use debug watchpoints (0x0b00 to > > 0x0b03) work with CWSDPMI? > > Of course, they do: that's how GDB and FSDB implement hardware-assisted > watchpoints since long ago. See src/debug/common/dbgcom.c in > djlsr203.zip for how this is done. These functions work in any DPMI host > I have ever used, including CWSDPMI, QDPMI, and several versions of > Windows. > > > I have tried to use it and seems that do not work. > > Details, please. What did you try to do, and how did it ``not work''? I have found my error. Simply I forgot to add the segment base address (__djgpp_base_address) to the address to watch. Sorry. Thanks for all