Date: Mon, 9 Jun 1997 11:24:01 +0200 (METDST) From: Robert Hoehne To: Andrew Crabtree Cc: djgpp-workers AT delorie DOT com Subject: Re: File Formats In-Reply-To: <199706051623.AA232197823@typhoon.rose.hp.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 5 Jun 1997, Andrew Crabtree wrote: > The recent messages on file formats (COFF, ELF), sparked my > memory about an issue I wanted to bring up. Namely, the 0xFFFF > limit of source lines in the COFF debug format DJGPP uses. > > I was just curious if anybody had investigated using a more advanced > debugging file format (STABS perhaps), and what the time estimates would be. This was already done, but does not solve the 0xFFFF source lines limit because it is a COFF limit and not a limit of the debugging information itself. > My assumptions were, that at a minimum it would involve reconfiguring > and compiling the whole of binutils (namely as and ld), as well as Reconfiguring the binutils and gdb is very easy... > gdb, and also possible the c compiler itself. This is, of course, I don't how difficutl this would be but it should be also possible. But all of this is not the main work. The main work should be investigated in changing the DJGPP startup code to load and execute other formats than COFF and I can't imagine that this is an easy task. > Also, I wanted to test out pgcc with the latest version of the loader If you are using pgcc you have already support for stabs debugging information, because it is applied there (I checked it). > from binutils 2.8.1. I got everything built OK, but I noticed that Binutils is an other topic. To build the binutils right for DJGPP you need the sources already patched for DJGPP. The ported binutils 2.8.1 will be available in the next time. I made already all needed patches and now waiting only until they are accepted by the maintainer of the binutils. Robert ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************