Another "stab" at it: -gstabs3/gcc3.2 compatibility (less sketchy)

Greg Turner gmturner007 at ameritech.net
Sun Sep 29 12:47:28 CDT 2002


This is relative to my previous patch (the "sketchy?" one).

CHANGELOG
* programs/winedbg/stabs.c: Greg Turner <gmturner007 at ameritech.net>
- do the right thing for those 'k'- and 'B'-'s, thanks to Eric Pouech.

--- programs/winedbg/stabs.c.sketchy    2002-09-29 03:49:00.000000000 -0500
+++ programs/winedbg/stabs.c    2002-09-29 12:39:20.000000000 -0500
@@ -470,12 +470,7 @@
        case 'k': /* 'const' modifier */
        case 'B': /* 'volatile' modifier */
            /* just kinda ignore the modifier, I guess? -gmt */
-           if (DEBUG_PTS_ReadTypedef(ptd, NULL, &ref_dt) == -1) return -1;
-           new_dt = DEBUG_NewDataType(DEBUG_GetType(ref_dt), NULL);
-           /* I don't get this.. but I figure this is kind of like "r"
-              so I cut and pasted from there ... -gmt */
-           assert(!*DEBUG_FileSubNr2StabEnum(filenr1, subnr1));
-           *DEBUG_FileSubNr2StabEnum(filenr1, subnr1) = new_dt;
+           if (DEBUG_PTS_ReadTypedef(ptd, NULL, &new_dt) == -1) return -1;
            break;
        case '(':
            ptd->ptr--;

-- 
gmt

"Waiting periods are only a step. Registration is only a step.
The prohibition of private firearms is the goal." 
  -U.S. Attorney General Janet Reno, December 1993




More information about the wine-patches mailing list