Article View: gnu.gcc.help
Article #46448Re: @@$##&%^$! gdb!!!! ARGGGGHHH!!!!!
From: James M. Chacon
Date: Tue, 15 Nov 1994 17:37
Date: Tue, 15 Nov 1994 17:37
40 lines
2182 bytes
2182 bytes
jstern@eclectic.ss.uci.edu (Jeff Stern) writes: >How is that obvious, again? Does it say, "Stopped in *function* _IO_dtoa()"? Why should it have to? Where else is it going to stop, in a variable? Don't the ()'s even give you a small hint? >Yes, I had tried a 'bt' before posting. Although it is my fault for not >posting that I had tried a bt. I really didn't want to get into all the >things that I had tried because it would take forever and I feared I >would lose people responding if the letter were too long. >Also, there could be a few more example sessions in the info page. >Theirs concentrates on making a breakpoint, which assumes you already >know the general area where the problem is. >Here's the output: >Program received Signal 8, Floating Point Exception >0x112cd in _IO_dtoa () >(gdb) bt >#0 0x112cd in _IO_dtoa () >#1 0x6 in ?? () >(gdb) where >#0 0x112cd in _IO_dtoa () >#1 0x6 in ?? () >(gdb) info stack >#0 0x112cd in _IO_dtoa () >#1 0x6 in ?? () >(gdb) >See my point? Yep. Try compiling with -g to get debugging information into your program before bitching about useless the debugger is. This is in the gcc man page as well as the gdb info stuff. If you don't give the debugger anything to work with, don't go expecting it to cooperate much with you. James
Technical Details
Message-ID:
<3aarkr$o4n@nbc.ksu.ksu.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!gatech!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!nbc.ksu.ksu.edu!not-for-mailReferences:
<9411091533.AA27960@lemming.wellfleet> <Pine.LNX.3.91.941109080719.12089A-100000@eclectic.ss.uci.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,554e5234231de3e X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-11-15 14:07:05 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!gatech!howland.reston.ans.net!vixen.cso.uiuc.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!nbc.ksu.ksu.edu!not-for-mail From: jmc@ksu.ksu.edu (James M. Chacon) Newsgroups: gnu.gcc.help Subject: Re: @@$##&%^$! gdb!!!! ARGGGGHHH!!!!! Date: 15 Nov 1994 11:37:31 -0600 Organization: Kansas State University Lines: 40 Distribution: gnu Message-ID: <3aarkr$o4n@nbc.ksu.ksu.edu> References: <9411091533.AA27960@lemming.wellfleet> <Pine.LNX.3.91.941109080719.12089A-100000@eclectic.ss.uci.edu> NNTP-Posting-Host: nbc.ksu.ksu.edu X-Newsreader: NN version 6.5.0 #1 (NOV)