From: Tom Hughes Date: Wed, 22 Sep 2004 22:48:27 +0000 (+0000) Subject: If a name is marked as both a typedef and a tag then ignore the tag marker X-Git-Tag: svn/VALGRIND_3_0_0~1567 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67db20fd4951d843db43121832b42e68d1d664f2;p=thirdparty%2Fvalgrind.git If a name is marked as both a typedef and a tag then ignore the tag marker and just treat it as a typedef or valgrind gets very confused. CCMAIL: 87904-done@bugs.kde.org git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2721 --- diff --git a/coregrind/vg_stabs.c b/coregrind/vg_stabs.c index d9e4b13d6e..34a7b26b57 100644 --- a/coregrind/vg_stabs.c +++ b/coregrind/vg_stabs.c @@ -1090,6 +1090,7 @@ static Bool initSym(SegInfo *si, Sym *sym, stab_types kind, Char **namep, Int va } out: + if (isStruct && isTypedef) isStruct = False; sym->type = stabtype_parser(si, NULL, &ty); base = VG_(st_basetype)(sym->type, False);