Date: Thu, 26 Jun 1997 12:54:52 -0600 From: barc0033 AT centre DOT uwi DOT tt Subject: COFF vs STABS debugging Newsgroups: comp.os.msdos.djgpp Message-ID: <867347267.31973@dejanews.com> Organization: Deja News Usenet Posting Service Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi: 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 I prefer the latter format, but, with this form of debugging the line number is correct but the file may not be correct. I don't know yet how to read the offset. I have to compile separately to get the linenumber if rhide does not catch the exception, and it generally does not, and that has to be done in DOS. I would like to know if I can change the stabs format to that of the coff format or secondly how to read the offset to get the linenumber. I would prefer the first option. Also, should rhide catch arithmetic exceptions and give the backtrace, it doesn't do it for me. Thanks -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet