Index: /trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp	(revision 75243)
+++ /trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp	(revision 75244)
@@ -1750,4 +1750,8 @@
         /*
          * 32-bit type (reading too much for NB04 is no problem).
+         *
+         * Note! The watcom linker (v1.9) seems to overwrite the directory
+         *       header and more under some conditions.  So, if this code fails
+         *       you might be so lucky as to have reproduce that issue...
          */
         RTCVDIRHDR32EX DirHdr;
@@ -1758,5 +1762,5 @@
                 && DirHdr.Core.cbHdr != sizeof(DirHdr))
             {
-                Log(("Unexpected CV directory size: %#x\n", DirHdr.Core.cbHdr));
+                Log(("Unexpected CV directory size: %#x [wlink screwup?]\n", DirHdr.Core.cbHdr));
                 rc = VERR_CV_BAD_FORMAT;
             }
@@ -1765,5 +1769,5 @@
                     || DirHdr.fFlags     != 0) )
             {
-                Log(("Extended CV directory headers fields are not zero: fFlags=%#x offNextDir=%#x\n",
+                Log(("Extended CV directory headers fields are not zero: fFlags=%#x offNextDir=%#x [wlink screwup?]\n",
                      DirHdr.fFlags, DirHdr.offNextDir));
                 rc = VERR_CV_BAD_FORMAT;
@@ -1771,10 +1775,10 @@
             if (DirHdr.Core.cbEntry != sizeof(RTCVDIRENT32))
             {
-                Log(("Unexpected CV directory entry size: %#x (expected %#x)\n", DirHdr.Core.cbEntry, sizeof(RTCVDIRENT32)));
+                Log(("Unexpected CV directory entry size: %#x (expected %#x) [wlink screwup?]\n", DirHdr.Core.cbEntry, sizeof(RTCVDIRENT32)));
                 rc = VERR_CV_BAD_FORMAT;
             }
             if (DirHdr.Core.cEntries < 2 || DirHdr.Core.cEntries >= _512K)
             {
-                Log(("CV directory count is out of considered valid range: %#x\n", DirHdr.Core.cEntries));
+                Log(("CV directory count is out of considered valid range: %#x [wlink screwup?]\n", DirHdr.Core.cEntries));
                 rc = VERR_CV_BAD_FORMAT;
             }
@@ -2882,5 +2886,5 @@
         if (pCvHdr->off < cb && pCvHdr->off >= sizeof(*pCvHdr))
         {
-            Log(("RTDbgModCv: Found %c%c%c%c at %#RTfoff - size %#x, directory at %#x. file type %d\n",
+            Log(("RTDbgModCv: Found %c%c%c%c at %#x - size %#x, directory at %#x. file type %d\n",
                  RT_BYTE1(pCvHdr->u32Magic), RT_BYTE2(pCvHdr->u32Magic), RT_BYTE3(pCvHdr->u32Magic), RT_BYTE4(pCvHdr->u32Magic),
                  off, cb, pCvHdr->off, enmFileType));
