Comments: ( Received on motgate.mot.com from client pobox2.mot.com, sender ra5748 AT email DOT sps DOT mot DOT com ) Message-ID: <369E7FF2.C207529A@email.sps.mot.com> Date: Thu, 14 Jan 1999 17:38:26 -0600 From: "Jon Brogdon" Organization: Motorola, Broadband Systems Design NCSG/CTASD X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp AT delorie DOT com Subject: Re: DJGPP, GDB and Remote Targets References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Motorola-Sent-Wireless: 1 Reply-To: djgpp AT delorie DOT com Eli: Thanks for the response (as well as the previous response on my post on using the make utility under NT) on the v2 port of GDB for DJGPP v2. I have LFN=y in djgpp.env. I have not encountered any problems with LFN with my current configuration. I understood that this would enable the use of LFN, however you suggested that I change it to LFN=n. Was this a typo--or did I misunderstand something? In either case, I will try it. I also looked at GDB 4.17 from the GNU site to see if DJGPP was supported. It appears as though there is some support for DJGPP (the configure script detects i386-pc-msdosdjgpp as a host), however the configure script eventually dies when a symbolic link is attempted. I don't have a great amount of time (as I am sure many don't) to devote to working on a port for DJGPP v2. To do so would be a side trip from my current project. However, I would like to contribute to the great work that many are doing to support this incredible environment, and I will consider doing so. To Mr. Delorie: I would like to thank you for all of your work in providing such a great development environment. Regards Jon Eli Zaretskii wrote: > On Wed, 13 Jan 1999, Jonathan Brogdon wrote: > > > I would like to use GDB (DJGPP version) on my pc to debug a remote > > single board pc target over the serial port. Has anyone ever tried this > > and/or seen it work? I realize that I will have to link in the stubs in > > my target. I was assuming that these stubs have been written. > > It was done at some point, long time ago, but that was with DJGPP > v1.x. Since hooking hardware interrupts is quite different with DJGPP > v2, the old code won't work, and nobody (AFAIK) has rewritten it for > v2. > > It shouldn't be too hard, though: you can use one of the available > packages for async communications that are in the v2tk directory on > SimTel.NET mirrors (check out section 22.3 of the FAQ for the exact > pointers). > > > I have looked through the GDB 4.16 source from the Delorie web site, and > > tried to simply build the gdb binary, but it failed. It looks as though > > several files called out in the configuration batch and script files > > have been shortened (I'm not talking about an LFN problem here, I have > > that configured correctly for DJGPP--the short file names are similar to > > the long file name, but they have been abbreviated). I tried to fix > > these problems as I found them, and mad some progress, but I was still > > unable to build the binary. Any ideas? > > I have successfully built GDB, both in plain DOS and in Windows 9X. > If you have LFN-related problems, the easiest way out is to set LFN=n > in the environment before building. > > If this doesn't help, please describe the problems in more detail. -- _____________________________________________________________ Jonathan Brogdon MOTOROLA BROADBAND SYSTEMS DESIGN COMMUNICATION TRANSMISSION & ACCESS SYSTEMS DIVISION NETWORKING & COMPUTING SYSTEMS GROUP Voice : (512) 934-8711 - Office (512) 934-3165 - Telecom Lab Pager : (512) 933-7333, PIN: 948711 FAX : (512) 934-6688 E-mail: mailto:ra5748 AT email DOT sps DOT mot DOT com E-mail to pager: mailto:948711 AT austinpg DOT sps DOT mot DOT com _____________________________________________________________