]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix stabs parsing bug introduced by fix to bug 90128 which meant
authorTom Hughes <tom@compton.nu>
Wed, 11 May 2005 18:44:13 +0000 (18:44 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 11 May 2005 18:44:13 +0000 (18:44 +0000)
that structDef() didn't always call VG_(st_setname) as it should.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3660

coregrind/vg_stabs.c

index 9171f37f8d46c5a2797602c2b30ce238ca8f65d9..9c25336f28aef236a4f3636e17b64e4c20eed6cf 100644 (file)
@@ -185,8 +185,8 @@ static SymType *structDef(StabTypeTab *tab, SymType *def, Bool isstruct, Char *n
                     isstruct ? "struct" : "union", name, ref, def);
 
       def = VG_(st_mktypedef)(ref, name, VG_(st_basetype)(def, False));
-      VG_(st_setname)(def, name);
    }
+   VG_(st_setname)(def, name);
    return def;
 }