Article View: gnu.gdb.bug
Article #1972Huge problems with debugging C++ programs
From: Carlo Wood
Date: Tue, 21 May 2002 23:26
Date: Tue, 21 May 2002 23:26
16 lines
1402 bytes
1402 bytes
(gdb) p this
$1 = (dm_alloc_ct *) 0x80b5ad0
(gdb) p *this
Value can't be converted to integer.
#2 0x0805c46a in libcw::debug::dm_alloc_ct::print_description(libcw::debug::ooam_filter_ct const&) const (this=0x80b5ad0,
filter=@0xbffff540) at debugmalloc.cc:1137
1137 DoutInternal( dc::continued, ' ' << a_description );
(gdb) p a_description
Value can't be converted to integer.
Why does gdb do this all the time?
I can't debug like this :(
--
Carlo Wood <carlo@alinoe.com>
Technical Details
Message-ID:
<20020522012645.A15595@alinoe.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!sea.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,5a576e5fca3d23b2,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-05-21 16:26:52 PST x-uunet-gateway: chi6sosrv13.alter.net from bug-gdb to gnu.gdb.bug; Tue, 21 May 2002 23:26:52 GMT Date: Wed, 22 May 2002 01:26:45 +0200 From: carlo@alinoe.com (Carlo Wood) Subject: Huge problems with debugging C++ programs Message-ID: <20020522012645.A15595@alinoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!sea.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Sender: bug-gdb-request@mail.gnu.org Lines: 16