From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20822 invoked by alias); 4 Dec 2005 21:12:44 -0000 Received: (qmail 20814 invoked by uid 22791); 4 Dec 2005 21:12:44 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.203) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 04 Dec 2005 21:12:43 +0000 Received: by zproxy.gmail.com with SMTP id x3so582430nzd for ; Sun, 04 Dec 2005 13:12:41 -0800 (PST) Received: by 10.36.3.15 with SMTP id 15mr4748329nzc; Sun, 04 Dec 2005 13:12:41 -0800 (PST) Received: by 10.37.2.6 with HTTP; Sun, 4 Dec 2005 13:12:41 -0800 (PST) Message-ID: <8f2776cb0512041312o19d356amabe6f7a2f47c67f1@mail.gmail.com> Date: Sun, 04 Dec 2005 22:31:00 -0000 From: Jim Blandy To: Mark Kettenis Subject: Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info Cc: gdb-patches@sourceware.org In-Reply-To: <200512041859.jB4IxrVO001319@elgar.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200512041859.jB4IxrVO001319@elgar.sibelius.xs4all.nl> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00089.txt.bz2 On 12/4/05, Mark Kettenis wrote: > a void function. Indeed the debug info generated by -g1 for malloc > looks like: > > $ readelf -wi /usr/lib/libc.so.38.4: > ... > <1>: 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?