Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Get >incomplete type> when I try to display a variable
@ 2007-03-07 15:47 ppmoore
  2007-03-07 15:49 ` Daniel Jacobowitz
  2007-03-07 18:52 ` ppmoore
  0 siblings, 2 replies; 3+ messages in thread
From: ppmoore @ 2007-03-07 15:47 UTC (permalink / raw)
  To: gdb


Hello,

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
directories?

Can anyone help?

Thanks,
Paul
-- 
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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-07 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 15:47 Get >incomplete type> when I try to display a variable ppmoore
2007-03-07 15:49 ` Daniel Jacobowitz
2007-03-07 18:52 ` ppmoore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox