From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29100 invoked by alias); 7 May 2008 09:01:07 -0000 Received: (qmail 29086 invoked by uid 22791); 7 May 2008 09:01:06 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 May 2008 09:00:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6AA5C2A997D for ; Wed, 7 May 2008 05:00:45 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id i+lgr7r7YjHp for ; Wed, 7 May 2008 05:00:45 -0400 (EDT) Received: from nile.gnat.com (nile.gnat.com [205.232.38.5]) by rock.gnat.com (Postfix) with ESMTP id 533FC2A98E9 for ; Wed, 7 May 2008 05:00:45 -0400 (EDT) Received: by nile.gnat.com (Postfix, from userid 1345) id 51A1048CC44; Wed, 7 May 2008 05:00:45 -0400 (EDT) From: Paul Hilfinger To: gdb@sourceware.org Subject: Question on typedefs of anonymous structs in G++ Reply-to: Hilfinger@adacore.com Message-Id: <20080507090045.51A1048CC44@nile.gnat.com> Date: Wed, 07 May 2008 09:01:00 -0000 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: 2008-05/txt/msg00050.txt.bz2 Using g++ 4.1 on Linux (at least), I observe that a type such as typedef struct { ... } Foo; produces no trace of debugging information about Foo. Serves one right for writing a C-style definition of Foo in a C++ program, to be sure, but G++ used to include Foo in the debugging data. Does anyone here happen to know the story behind the change? Thanks. Paul Hilfinger