This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Get >incomplete type> when I try to display a variable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]