Article View: gnu.gdb.bug
Article #8794gdb is not even passable?
From: Ajay Shah
Date: Wed, 09 Dec 1992 11:27
Date: Wed, 09 Dec 1992 11:27
24 lines
1612 bytes
1612 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, a M-n goes to a line where the control
flow simply cannot (e.g. backup by one line in a sequence of linear
code). Printing local variables (or function arguments) routinely
fails. Sometimes M-s does not behave -- it suddenly spurts ahead by
many lines even though it was supposed to move one line.
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.
I'm using gdb 4.6, with gcc 2.2.2 on a Sun MP server running SunOS
4.1.2. What could be going wrong?
In case it helps, I "often" find that the mistakes of gdb are
replicated by dbx (but not always). E.g. if gdb refuses to print a
local variable, then dbx will refuse too.
(I've never had the pleasure of using a good debugger with gcc;
neither dbx nor gdb have worked correctly. :-(
)
-ans.
--
Ajay Shah, (213)749-8133, ajayshah@usc.edu
Technical Details
Message-ID:
<1g6dejINN445@almaak.usc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!alnitak.usc.edu!ajayshahShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,3424e959ea08d499,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1992-12-09 19:50:18 PST Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!alnitak.usc.edu!ajayshah From: ajayshah@alnitak.usc.edu (Ajay Shah) Subject: gdb is not even passable? Message-ID: <1g6dejINN445@almaak.usc.edu> Sender: gnulists@ai.mit.edu Organization: University of Southern California, Los Angeles, CA Distribution: gnu Date: Wed, 9 Dec 1992 11:27:15 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 25