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]

Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]