This is the mail archive of the gdb-patches@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]

Strange change to read_namespace


When you checked in this patch:

2004-03-15  David Carlton  <carlton@kealia.com>

        Fix for PR c++/1553:
        * dwarf2read.c (read_structure_type): Determine type name by
        calling determine_class_name.
        (determine_class_name): New.
        (determine_prefix): Look at TYPE_TAG_NAME and call
        determine_class_name when appropriate.
        (determine_prefix_aux, class_name): Delete.


You also checked in this:

@@ -3724,6 +3717,7 @@ read_namespace (struct die_info *die, st
       TYPE_TAG_NAME (type) = TYPE_NAME (type);
 
       new_symbol (die, type, cu);
+      die->type = type;
 
       if (is_anonymous)
        cp_add_using_directive (processing_current_prefix,

Did you mean to do that?  It seems plausible.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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