X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "Gerrit van Niekerk" Organization: GPvNO To: djgpp AT delorie DOT com Date: Mon, 28 Jan 2008 09:49:32 +0200 MIME-Version: 1.0 Subject: GDB h/w support Message-ID: <479DA52C.25447.F3E3005@gerritvn.gpvno.co.za> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp AT delorie DOT com Can anybody tell me in what module the low level GDB hardware support for DJGPP is implemented? I am talking about writing and reading the i386 debug registers. I have searched both the GDB and the DJGPP source code and just can't find it. The reason I want to know, is to implement h/w watchpoint support in a DJGPP GDB stub. BTW: I found and fixed a number of problems in gdbst01 (which does not work at all on current GDB versions) and got it working nicely using a TCP/IP connection between the DJGPP target and a specially configured Cygwin GDB on WinXP. The DJGPP target uses a proprietary TCP/IP product (Datalight Sockets). I would like to make the modified stub available to the DJGPP community for serial port use or TCP/IP use for Datalight customers. Perhaps someone can port it to an open source TCP/IP implementation. Thoughts?