Article View: gnu.gdb.bug
Article #512gcc.2.2.2 lost typecast info for gdb (sco-sysv.3.2)
From: John Casey
Date: Wed, 11 Nov 1992 16:10
Date: Wed, 11 Nov 1992 16:10
19 lines
893 bytes
893 bytes
gdb returns : $1 = (struct <opaque> *) some addr when trying to print out a complex structurei or C++ class. This does not happen all of the time, however. I am usually able to fix the problem by explicit typecasting, (gdb) p (struct name *) var. Am I doing something wrong or is this how gdb is supposed to work? I can send you a specific example if that helps. Thanks, John Casey
Technical Details
Message-ID:
<1992Nov11.161000.255@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!netcom.com!jcaseyShow 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!netcom.com!jcasey From: jcasey@netcom.com (John Casey) Subject: gcc.2.2.2 lost typecast info for gdb (sco-sysv.3.2) Message-ID: <1992Nov11.161000.255@netcom.com> Sender: gnulists@ai.mit.edu Organization: Netcom - Online Communication Services (408 241-9760 guest) Distribution: gnu Date: Wed, 11 Nov 1992 16:10:00 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 22