This is the mail archive of the
mailing list for the GDB project.
Get >incomplete type> when I try to display a variable
- From: ppmoore <polomora at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 7 Mar 2007 07:47:23 -0800 (PST)
- Subject: Get >incomplete type> when I try to display a variable
I've been trying to debug a program, where the source files and the binary
are in separate directories (the .h and .c files are in the same directory).
I just copy all source files to the destination execution directory where
the executable is located (the target machine is not on the same network as
the development machine), and this works fine.
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
Can anyone help?
View this message in context: http://www.nabble.com/Get-%3Eincomplete-type%3E-when-I-try-to-display-a-variable-tf3362883.html#a9355446
Sent from the gdb - General mailing list archive at Nabble.com.