[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Meaning of "Incomplete Type"
From: |
kenneth kahn |
Subject: |
Meaning of "Incomplete Type" |
Date: |
Wed, 31 May 2006 14:38:29 -0400 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
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
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Meaning of "Incomplete Type",
kenneth kahn <=