From: Tom Hughes Date: Wed, 11 May 2005 18:44:13 +0000 (+0000) Subject: Fix stabs parsing bug introduced by fix to bug 90128 which meant X-Git-Tag: svn/VALGRIND_3_0_0~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba5f3c92955a44499c86eb14166b791963105a32;p=thirdparty%2Fvalgrind.git Fix stabs parsing bug introduced by fix to bug 90128 which meant that structDef() didn't always call VG_(st_setname) as it should. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3660 --- diff --git a/coregrind/vg_stabs.c b/coregrind/vg_stabs.c index 9171f37f8d..9c25336f28 100644 --- a/coregrind/vg_stabs.c +++ b/coregrind/vg_stabs.c @@ -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; }