From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: COFF vs STABS debugging Date: Fri, 27 Jun 1997 15:33:14 +0200 Organization: TU Chemnitz-Zwickau Lines: 48 Message-ID: <33B3C11A.6C52F17E@Mathematik.TU-Chemnitz.DE> References: <867347267 DOT 31973 AT dejanews DOT com> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk barc0033 AT centre DOT uwi DOT tt wrote: > > I would like to know if the default for stabs debugging using the symify > backtrace of the dump, gdb-4.16 thru gcc-2721 and rhide1.3 is only of the > form: > function + offset. > > If I use coff debugging I get an output of the form: > function + offset , line-number in file You should give us some more and precise information what you want to do and what you did. One important thing is which program produces for the stabs debugging information? I for instance use the patch for gcc (which will be similar in the coming new gcc version) to produce stabs debugging information and it works perfectly. I will never go back to use the SDB (this is the native COFF debugging format) debugging information. Or have you made the mistake to have some files with stabs debugging and some with SDB debugging? Or do you try to use the symify.exe program for a program which have stabs debugging? > I would like to know if I can change the stabs format to that of the coff This is now again a little bit confusing for me. It sounds for me that you have some object files with stabs debugging information but these files were not made by you. > Also, should rhide catch arithmetic exceptions and give the backtrace, it > doesn't do it for me. Do you mean to get a traceback when you debug the program or when you simply run it? 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 * *****************************************************************