This is the mail archive of the
mailing list for the GDB project.
GDB isn't finding a typedef
- From: <Paul_Koning at Dell dot com>
- To: <gdb at sourceware dot org>
- Date: Wed, 15 Feb 2012 15:34:36 -0600
- Subject: GDB isn't finding a typedef
I have a large executable (compiled and linked with -g2) in which some of the typedefs and structs are not found by gdb.? Others it finds without trouble.? I can find all of them in the output from readelf -debug-dump=info.
I tried to make a small test case on the theory that perhaps it matters that the missing type is - probably - only used in casts.? But that didn't pan out, the small test case shows all the structs.
Gdb is 7.2, gcc is 4.5.1 if it matters.