From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12923 invoked by alias); 15 Jan 2004 16:30:58 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12915 invoked from network); 15 Jan 2004 16:30:57 -0000 Received: from unknown (HELO thumbler.kulnet.kuleuven.ac.be) (134.58.240.45) by sources.redhat.com with SMTP; 15 Jan 2004 16:30:57 -0000 Received: from localhost (localhost [127.0.0.1]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 464691376D1; Thu, 15 Jan 2004 17:30:57 +0100 (CET) Received: from lepidus.kulnet.kuleuven.ac.be (lepidus.kulnet.kuleuven.ac.be [134.58.240.72]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id B73951377AF; Thu, 15 Jan 2004 17:30:56 +0100 (CET) Received: from F012.mech.kuleuven.ac.be (F012.mech.kuleuven.ac.be [10.33.175.12]) by lepidus.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 51A9A380151; Thu, 15 Jan 2004 17:30:56 +0100 (CET) Date: Thu, 15 Jan 2004 16:30:00 -0000 From: Klaas Gadeyne To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: gdb namespaces/wrapper bug? In-Reply-To: <20040115144949.GA26765@nevyn.them.org> Message-ID: References: <20040115144949.GA26765@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by KULeuven Antivirus Cluster X-SW-Source: 2004-01/txt/msg00200.txt.bz2 > Could you try CVS gdb? I think the segfault has been fixed. I may be > mistaken about that, though. This is related to > lookup_transparent_type, which David has been doing some work on (and > has more pending). Hi Daniel, Indeed, the infinite loop/segfault is gone with CVS gdb, however, the behaviour is not yet as desired :) ==================================================================== [klaas@c014 /tmp]$ /usr/local/bin/gdb ./a.out GNU gdb 2004-01-15-cvs This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) break wrapper.cpp:17 Breakpoint 1 at 0x80484f4: file wrapper.cpp, line 17. (gdb) run Starting program: /tmp/a.out Breakpoint 1, main () at wrapper.cpp:17 17 Foo mywrapped; (gdb) next 18 return 0; (gdb) display mywrapped 1: mywrapped = {<> = {}, } ====================================================================== So mywrapped is now reported to be empty, where I expected to see something like 1: mywrapped = { = {}, } regards, klaas