From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8225 invoked by alias); 14 Nov 2001 20:16:01 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8040 invoked from network); 14 Nov 2001 20:15:53 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 14 Nov 2001 20:15:53 -0000 Received: from taarna.cygnus.com (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA23681; Wed, 14 Nov 2001 12:15:52 -0800 (PST) Received: (bkoz@localhost) by taarna.cygnus.com (SMI-8.6/8.6.4) id MAA11824; Wed, 14 Nov 2001 12:15:51 -0800 Date: Sat, 03 Nov 2001 07:59:00 -0000 From: Benjamin Kosnik X-Sender: bkoz@taarna.cygnus.com To: Jason Merrill cc: libstdc++@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: c++ debugging hosed In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-11/txt/msg00047.txt.bz2 Hey. Thanks for the hack. > I just updated my gdb for the first time in months and ran into the same > problem. Looks like the V3 ABI support code isn't ready for prime time. > Until it is, you can disable it with this patch: Yay. I disabled it. #include void test01() { std::ostringstream oss; // break here } I'm still having some difficulty, however. In the above, (gdb) p oss $1 = { >> = { >> = , _vptr.basic_ostream > = 0x80faa4c}, _M_stringbuf = { >> = { _vptr.basic_streambuf > = 0x80faa88, _M_buf = 0x811955c "", _M_buf_size = 0, _M_buf_size_opt = 512, _M_buf_unified = false, _M_in_beg = 0x0, _M_in_cur = 0x0, _M_in_end = 0x0, _M_out_beg = 0x811955c "", _M_out_cur = 0x811955c "", _M_out_end = 0x811955c "", _M_mode = 16, _M_buf_locale = {static none = Internal: global symbol `_ZNSt6locale4noneE' found in /mnt/hd/src/src.gcc/libstdc++-v3/src/locale.cc psymtab but not in symtab. _ZNSt6locale4noneE may be an inlined function, or may be a template function (if a template, try specifying an instantiation: _ZNSt6locale4noneE). (gdb) p oss._M_streambuf virtual baseclass botch I haven't tried this with a dwarf2 toolchain yet, I will in a bit. Is there a last known good date for gdb so that I can revert my sources until this is fixed? thanks, benjamin