This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/1377: [regression] g++ 2.95.3, dwarf-2, hand function call: SIGSEGV


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]