[Dwarf-Discuss] debugging information available at runtime?
Wed Sep 9 05:57:19 GMT 2009
On Tue, Sep 8, 2009 at 10:08 PM, Jason Merrill <jason at redhat.com> wrote:
> On 09/08/2009 06:11 PM, Brendan Miller wrote:
>> Is DWARF generally loaded into memory at runtime along with the rest
>> of the executable code?
> No, it goes in non-loaded sections.
Specifically, for source line mapping you need .debug_line section.
You can see section flags with 'readelf -S a.out'. Usually .debug_line
will not have 'A' (allocatable) flag, and so will not be present in
More information about the Dwarf-discuss