Get >incomplete type> when I try to display a variable
Daniel Jacobowitz
drow@false.org
Wed Mar 7 15:49:00 GMT 2007
On Wed, Mar 07, 2007 at 07:47:23AM -0800, ppmoore wrote:
> I'm now debugging another section of code where the .c and the .h files are
> in separate directories. As before, I copy these across to the executable
> location. When I debug, I get the error <incomplete type> when I try to
> examine the contents of a structure or pointer to a structure. Is this
> because in the development enviromnent, the .h and .c files are in different
> directories?
No, it has nothing to do with that.
Either some file was not compiled with -g, or your compiler has
omitted some necessary debug info.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list