From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15529 invoked by alias); 24 Apr 2003 22:18:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15520 invoked from network); 24 Apr 2003 22:18:06 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 24 Apr 2003 22:18:06 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 09FA02B2F; Thu, 24 Apr 2003 18:18:04 -0400 (EDT) Message-ID: <3EA8629B.50603@redhat.com> Date: Thu, 24 Apr 2003 22:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Keith Seitz Cc: "gdb-patches@sources.redhat.com" Subject: Re: [RFA] varobj: call CHECK_TYPEDEF References: <1051215397.1538.43.camel@lindt.uglyboxes.com> <3EA84A9B.5020308@redhat.com> <1051221433.1534.72.camel@lindt.uglyboxes.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00475.txt.bz2 > On Thu, 2003-04-24 at 13:35, Andrew Cagney wrote: > > >> Don't forget a gdb.mi/insight219 testcase. > > > Doh! How about the attached? (This is the minimal test that I could get > to reproduce it. It must use multiple files. That's why it never showed > up before, apparently.) Yes, anything like that. BTW, does ... struct t { int a; int b; }; typedef struct t T; main() { static T v = {...}; } tickle it? > Index: insight219-b.cc > =================================================================== > RCS file: insight219-b.cc > diff -N insight219-b.cc > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ insight219-b.cc 24 Apr 2003 21:54:00 -0000 > @@ -0,0 +1,4 @@ > +#include "insight219.h" > + > +B::~B() {} > + > Index: insight219.cc > =================================================================== > RCS file: insight219.cc > diff -N insight219.cc > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ insight219.cc 24 Apr 2003 21:54:00 -0000 > @@ -0,0 +1,8 @@ > +#include "insight219.h" > + > +int > +main(int argc, char *argv[]) > +{ > + B *b = new B(); > + return 0; > +}; > Index: insight219.h > =================================================================== > RCS file: insight219.h > diff -N insight219.h > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ insight219.h 24 Apr 2003 21:54:00 -0000 > @@ -0,0 +1,8 @@ > +class B > +{ > +public: > + virtual ~B(); > + > +private: > + int b; > +};