This is the mail archive of the gdb-patches@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] |
On Mon, Feb 11, 2008 at 08:07:55PM -0500, Aleksandar Ristovski wrote:struct dwarf2_cu has a pointer to struct objfile, which (if I'm not mistaken) get's allocated per compilation unit.
That's where your confusion is. An objfile is something like "/lib/libc.so.6", a linked file. A compilation unit is something like "init.o", a single "gcc -c" output.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |