Meaning of "Incomplete Type"
kenneth kahn <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
I have a multi-object, multi-threaded C++ program built on Solaris 8
using Forte 10 with debug enabled that is producing a core dump. I use
"DDD 3.3.1 (sparc-sun-solaris2.8)" on the resulting core file and easily
find the offending piece of code. What puzzles me is when I display out
the local variables I see
(Name=<incomplete type>, flags=0, mode=2779712, value=8195)
The function is defined as
int Fct (char * Name, int flags, int mode, int value) { .. }
What exactly does "incomplete type" mean? Is there any way around this
so I can see what the pointer passed to the function is actually
pointing at. The core dump is occuring at the call
(char*)malloc(strlen(Name)+1);
I'm guessing it's due to Name being corrupt somehow.
--
Kenneth Kahn
Senior Member of Consulting Staff
CVA R&D Hardware Emulation
Cadence Design Systems
Lake Katrine, NY
[email protected]