Article View: gnu.gdb.bug
Article #8795Re: gdb is not even passable?
From: gnu
Date: Wed, 09 Dec 1992 12:26
Date: Wed, 09 Dec 1992 12:26
25 lines
1756 bytes
1756 bytes
> I've tried using gdb a lot in the past few days and I'm amazed at how
> bug-ridden it is. Many times, ...
> ... routinely fails. Sometimes ...
> It's so bad I almost feel I have no debugger. Normally I have great
> respect for software from the FSF but this is terrible.
If you ever report any of these bugs, they might get fixed.
Rumors of bugs, and slanderous comments, are not bug reports! It's hard to
fix a rumor of a bug.
John Gilmore
PS: It sounds to me like you are debugging optimized code. Read The
Forking Manual about debugging optimized code. Here, to save you the
trouble, I'll quote from the GCC manual:
Unlike most other C compilers, GNU CC allows you to use `-g' with
`-O'. The shortcuts taken by optimized code may occasionally
produce surprising results: some variables you declared may not
exist at all; flow of control may briefly move where you did not
expect it; some statements may not be executed because they
compute constant results or their values were already at hand;
some statements may execute in different places because they were
moved out of loops.
Technical Details
Message-ID:
<9212100426.AA00394@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnuReferences:
<1g6dejINN445@almaak.usc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,3424e959ea08d499 X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1992-12-09 21:29:48 PST Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnu From: gnu@cygnus.com Subject: Re: gdb is not even passable? Message-ID: <9212100426.AA00394@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <1g6dejINN445@almaak.usc.edu> Distribution: gnu Date: Wed, 9 Dec 1992 12:26:20 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 26