Private data members
Andreas Schwab
schwab@linux-m68k.org
Wed Jul 29 21:56:00 GMT 2009
Michael Snyder <msnyder@vmware.com> writes:
> Define struct breakpoint in breakpoint.h, put any public members
> in there, and then include a member "struct breakpoint_private"
> that is only a forward declaration.
That only works if this member is a pointer. You cannot have struct
members with incomplete types.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gdb
mailing list