[Dwarf-Discuss] How best to represent multiple programs in a single file...

Relph, Richard Richard.Relph at amd.com
Tue Jan 4 13:08:21 PST 2011


> You do need to have DWARF which describes each
> kernel separately.
This is the conclusion I've reached.

> This "kernel" organization looks to me a lot like
> overlays.  I'm not exactly sure how other compilers
> have handled this in ELF/DWARF.
Oh my... Overlays... I'd completely forgotten that term... But that you mentioned it and that I recognized it shows something about our age, doesn't it... ;-)
But you're right, this is very much like the old MS-DOS (or was it CP/M?) style overlays of too many years ago. A program counter address isn't enough information alone to figure out a source file line, you need to know which 'overlay' - or kernel - is currently loaded.

Richard


More information about the Dwarf-Discuss mailing list