Date: Mon, 14 Sep 1998 19:53:03 +0300 (IDT) From: Eli Zaretskii To: Gautier DOT DeMontmollin AT maths DOT unine DOT ch cc: djgpp AT delorie DOT com Subject: Re: Trace-back with details In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 14 Sep 1998 Gautier DOT DeMontmollin AT maths DOT unine DOT ch wrote: > Are there means to include an explicit trace-back > into the run-time code, that would use the symbol > table to explain the EIPs ? This was discussed during DJGPP v2 development, several times. It is possible to do this, but including such a feature by default in every DJGPP program is not necessarily a good idea. Accessing the symbol table requires to read large portions of the .exe file, and doing so from a crashed program (which could potentially have its stack or DS register scrogged) could actually make things worse. The current traceback code is very carefully written to not use atomatic variables and not call any library functions beyond what's necessary to write the output to file handle 2. And, of course, the code bloat of every DJGPP program would also be an issue. If you want to do that from your own programs, you could always spawn symify.exe, or include symify's code in your application. The sources are free, so just get djlsr201.zip and have fun!