From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30615 invoked by alias); 26 Sep 2011 20:38:54 -0000 Received: (qmail 30546 invoked by uid 22791); 26 Sep 2011 20:38:52 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Sep 2011 20:38:39 +0000 Received: by eye13 with SMTP id 13so4347019eye.0 for ; Mon, 26 Sep 2011 13:38:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.17.6 with SMTP id i6mr2267747eei.61.1317069517743; Mon, 26 Sep 2011 13:38:37 -0700 (PDT) Received: by 10.14.127.137 with HTTP; Mon, 26 Sep 2011 13:38:37 -0700 (PDT) In-Reply-To: <1317055596.23338.12.camel@feddie.cnoc.lan> References: <1317055596.23338.12.camel@feddie.cnoc.lan> Date: Mon, 26 Sep 2011 20:38:00 -0000 Message-ID: Subject: Re: Handling of c++ function members From: Daniel Jacobowitz To: Joost van der Sluis Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00120.txt.bz2 On Mon, Sep 26, 2011 at 12:46 PM, Joost van der Sluis wrote: > Hi all, > > I've been looking at the code which handles calling c++ function members > and the Dwarf specifications. Is came to the conclusion that gcc does > not generate valid Dwarf-debuginfo for those function members, but a > work-around which is also implemented in gdb, namely in gnu-v2-abi.c. > > Is my conclusion right? Can you be a little more specific, maybe an example? There are definitely oddities in the GCC debug info, but the workarounds I remember are in the DWARF reader. -- Thanks, Daniel