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: symtab/213: Type confusion with excluded include files (stabs)


Synopsis: Type confusion with excluded include files (stabs)

State-Changed-From-To: open->feedback
State-Changed-By: chastain
State-Changed-When: Tue Aug 19 19:28:29 2003
State-Changed-Why:
    
    I'm working through old bugs in the gdb database.
    
    The test program here violates the One Definition Rule.  I don't know if the ODR is part of the ISO standard for C; I will go find that out.
    
    Meanwhile, I tested with gcc 3.3.1 and gdb 5.3.  With -gdwarf-2, gdb correctly prints the types of both "a" and "b".  With -gstabs+, gdb incorrectly prints both "a" and "b" as the same type.
    
    When I find out what the ISO C standard says, I'll write more about this bug.
    
    Michael C
    GDB QA Guy
    

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=213


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