This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info
- From: Jim Blandy <jimb at red-bean dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 4 Dec 2005 13:12:41 -0800
- Subject: Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info
- References: <200512041859.jB4IxrVO001319@elgar.sibelius.xs4all.nl>
On 12/4/05, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> a void function. Indeed the debug info generated by -g1 for malloc
> looks like:
>
> $ readelf -wi /usr/lib/libc.so.38.4:
> ...
> <1><af59>: Abbrev Number: 2 (DW_TAG_subprogram)
> DW_AT_name : (indirect string, offset: 0x6484): imalloc
> DW_AT_decl_file : 1
> DW_AT_decl_line : 1123
> DW_AT_low_pc : 0x67ca0
> DW_AT_high_pc : 0x67d9f
> DW_AT_frame_base : 1 byte block: 57 (DW_OP_reg7)
> ...
That says "imalloc"; is that really what you meant to quote?