numbers in stabs and also removed the expectation of a trailing
semicolon after the type number as gcc didn't seem to be putting
one in. It seems that older gcc's do add one however, so we now
skip one if it is there.
MERGED FROM HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_2_2_0_BRANCH@2864
type = NULL;
break;
}
+ /* Different versions of gcc seem to disagree about whether a
+ negative type is followed by a semicolon or not, and the stabs
+ spec (susch as it is) is not clear either so we will skip a
+ semicolon if there is one. */
+ if (*p == ';')
+ p++;
break;
}