🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10

gdb4.7 botches(?)

#10
From: Robert R. Henry
Date: Tue, 27 Oct 1992 22:54
17 lines
1198 bytes
In gdb4.7 (sparc target, sparc host),
built to run with gcc2.2.2 with some modifications to dbxout.c,
I note these problems.

1:  Inside of a member function, the class members are not implicitly reachable;
instead of saying "print x", one must say "print this->x".
Is this a bug or a feature?

2:  I can not put a breakpoint on the destructor for Thing,
eg on Thing::~Thing; the breakpoint ends up on the constructor Thing::Thing
instead.  This may be because my name mangling configuration
(both in gcc2.2.2/dbxout.c and in gdb4.7(GCC_MANGLE_BUG)) may be
screwed up.  (My version of gcc2.2.2/dbxout.c has undergone several
patches from the net, as well as gdb/gcc.patch)

3: othergdb4.7 users on site who are debugging big programs complain that
'where' takes several minutes to complete.
Technical Details
Message-ID: <9210272254.AA13756@tera.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!tera.com!rrh

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!tera.com!rrh
From: rrh@tera.com (Robert R. Henry)
Subject: gdb4.7 botches(?)
Message-ID: <9210272254.AA13756@tera.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 27 Oct 1992 22:54:31 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 19