X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: sanchana Newsgroups: comp.os.msdos.djgpp Subject: Re: GDB h/w support Date: Mon, 10 Mar 2008 22:47:39 -0700 (PDT) Organization: http://groups.google.com Lines: 23 Message-ID: <598d6143-8583-4584-a72d-adecf20756ed@e25g2000prg.googlegroups.com> References: <479DA52C DOT 25447 DOT F3E3005 AT gerritvn DOT gpvno DOT co DOT za> NNTP-Posting-Host: 122.169.134.51 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1205214460 14800 127.0.0.1 (11 Mar 2008 05:47:40 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 11 Mar 2008 05:47:40 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: e25g2000prg.googlegroups.com; posting-host=122.169.134.51; posting-account=GU9GJAoAAADiQgzJcAj9GK7i4LnpJmFW User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m2B607kd030957 Reply-To: djgpp AT delorie DOT com On Jan 28, 12:49 pm, "Gerrit van Niekerk" wrote: > 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? the low level modules are written under gdb/ and sim/ subfolders i am not sure about DJGPP but i can tel you u have to look into gdb folder..