From: Benjamin Kosnik <bkoz@redhat.com>
To: Jason Merrill <jason@redhat.com>
Cc: libstdc++@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: c++ debugging hosed
Date: Sat, 03 Nov 2001 07:59:00 -0000 [thread overview]
Message-ID: <Pine.SOL.3.91.1011114121004.10378A-100000@taarna.cygnus.com> (raw)
In-Reply-To: <wvlr8r1tk70.fsf@prospero.cambridge.redhat.com>
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 <sstream>
void test01()
{
std::ostringstream oss; // break here
}
I'm still having some difficulty, however. In the above,
(gdb) p oss
$1 = {<basic_ostream<char,std::char_traits<char> >> =
{<basic_ios<char,std::char_traits<char> >> = <invalid address>,
_vptr.basic_ostream<char,std::char_traits<char> > = 0x80faa4c},
_M_stringbuf = {<basic_streambuf<char,std::char_traits<char> >> = {
_vptr.basic_streambuf<char,std::char_traits<char> > = 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<type>).
(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
next prev parent reply other threads:[~2001-11-14 20:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200110291812.f9TICtQ10130@constant.com>
2001-11-03 1:50 ` Jason Merrill
2001-11-03 7:59 ` Benjamin Kosnik [this message]
2001-11-03 10:52 ` Benjamin Kosnik
2001-11-12 8:27 ` Eli Zaretskii
2001-11-12 11:29 ` Daniel Berlin
2001-11-13 10:06 ` Benjamin Kosnik
2001-11-13 10:07 ` Daniel Berlin
2001-11-13 13:18 ` Benjamin Kosnik
2001-11-25 22:56 ` Benjamin Kosnik
2001-11-26 15:38 ` Daniel Jacobowitz
2001-11-14 20:13 ` Daniel Jacobowitz
2001-11-15 8:55 ` Daniel Berlin
2001-11-15 13:10 ` Daniel Jacobowitz
2001-11-26 17:19 ` Daniel Jacobowitz
2001-11-26 16:53 ` Daniel Berlin
2001-11-26 16:43 ` Daniel Berlin
2001-11-15 8:48 ` Daniel Berlin
2001-11-26 16:53 ` Daniel Jacobowitz
2001-11-15 9:57 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOL.3.91.1011114121004.10378A-100000@taarna.cygnus.com \
--to=bkoz@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jason@redhat.com \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox