This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: c++/1377: [regression] g++ 2.95.3, dwarf-2, hand function call: SIGSEGV
- From: chastain at sourceware dot org
- To: chastain at sourceware dot org, gdb-prs at sources dot redhat dot com, mec at shout dot net, nobody at sources dot redhat dot com
- Date: 27 Nov 2003 07:01:01 -0000
- Subject: Re: c++/1377: [regression] g++ 2.95.3, dwarf-2, hand function call: SIGSEGV
- Reply-to: chastain at sourceware dot org, chastain at sourceware dot org, gdb-prs at sources dot redhat dot com, mec at shout dot net, nobody at sources dot redhat dot com, gdb-gnats at sources dot redhat dot com
Synopsis: [regression] g++ 2.95.3, dwarf-2, hand function call: SIGSEGV
Responsible-Changed-From-To: unassigned->chastain
Responsible-Changed-By: chastain
Responsible-Changed-When: Thu Nov 27 07:01:01 2003
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: chastain
State-Changed-When: Thu Nov 27 07:01:01 2003
State-Changed-Why:
This PR is caused by the same bug that causes PR gdb/1465.
gnuv2_value_rtti_type calls lookup_typename and gets the evil namespace symbol and does bogus things with it.
[top] print *rtti_type->main_type
$10 = {code = TYPE_CODE_NAMESPACE, upper_bound_type = BOUND_SIMPLE,
lower_bound_type = BOUND_SIMPLE, name = 0x82d738c "E",
tag_name = 0x82d738c "E", objfile = 0x82cf190, target_type = 0x0, flags = 0,
nfields = 0, vptr_fieldno = -1, fields = 0x0, vptr_basetype = 0x0,
type_specific = {cplus_stuff = 0x82887e0, floatformat = 0x82887e0}}
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1377