home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gdb.bug
- Path: 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
-
- 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
-
-
-
-