Date: Wed, 8 Jan 1997 08:48:03 +0200 (IST) From: Eli Zaretskii To: Laurent DOT CHARLES AT st DOT com cc: djgpp AT delorie DOT com Subject: Re: Remote gdb In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 7 Jan 1997 Laurent DOT CHARLES AT st DOT com wrote: > 2) I may have time and resources to do the job, but I don't really know where to > start, where to look... > Can anyone give me some pointers or whatever that can be useful? > I would also like to have gdb and i386-stub talking together via the network > (tcp/ip?) rather than through a serial link... IMHO, the best way to do it is to use the DJGPP Filesystem extensions, which are specifically provided for such cases. The libc reference describes these functions. Once you have a working low-level interface to serial or tcp/ip link, all that you need is to define a bunch of handlers for basic functions like open/close and read/write, and install them so that they get called by the DJGPP I/O functions automatically. > 3) All this is because I cannot find a reliable (and actually usable) way to use > djgpp-gdb under msdos to debug cross-compiled applications (sun to go32). I can > not find a system/dos box (msdos/windows3/Win95/WinNT) which allows me to have > long filename access, breakpoints, fast access to files on breakpoints... Huh? Doesn't DJGPP give you long filenames on Windows 95? And as for fast access to files on breakpoints, I have a small patch for GDB that makes this so fast you wouldn't believe.