Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by John Casey
Wed, 11 Nov 1992 16:10
gcc.2.2.2 lost typecast info for gdb (sco-sysv.3.2)
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads