[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    VALGRIND_2_2_0_BRANCH: valgrind/coregrind
From:       Tom Hughes <thh () cyberscience ! com>
Date:       2004-10-28 8:15:39
Message-ID: 20041028081539.379AC16CC4 () office ! kde ! org
[Download RAW message or body]

CVS commit by thughes: 

The fix for bug 85811 added decoding of many extra negative type
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


  M +6 -0      vg_stabs.c   1.14.2.1


--- valgrind/coregrind/vg_stabs.c  #1.14:1.14.2.1
@@ -676,4 +676,10 @@ static SymType *stabtype_parser(SegInfo 
          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;
    }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic