Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] DWARF support in CDT

Hello Everybody,

I was what is the state of the DWARF debug parser in the 
org.eclipse.cdt.utils.debug.dwarf package ? Has it been fully tested ? Is it 
up-to-scatch ?

I've looked at the source code and ran the DebugDump tool on a file containing 
DWARF debug infromation and it doesn't seem to produce any variable 
infomation. It seems to only include information compilation units and these 
units don't contain any variables.

The compilation unit information seems to be incorrect as well. A number of 
units with the same name or a null name are produced. See the partial result 
of the DebugDump at the end of the email.

If it's not up-to-scratch please let me known I'll use another debug format or 
discuss with my boss if I should help you guys improve it.

...
/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit init.c address 8048268 */
/* Exit Compilation Unit init.c address 8048268 */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit test.c address 80482f4 */
/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Func:main address 80482f4 */
 main()
{
} /* Exit Func address 804831e */

/* Exit Compilation Unit test.c address 804831e */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */
/* Exit Compilation Unit  */

/* Enter Compilation Unit null address 0 */

regards,
Adam
-- 
Adam Finucane		  




Back to the top