🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Casey Mon, 16 Nov 1992 16:09
structures loose definition in gdb (struct <opaque> *)
#521
Author: John Casey
Date: Mon, 16 Nov 1992 16:09
19 lines
906 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