Changeset 62564 in vbox for trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
- Timestamp:
- Jul 26, 2016 2:43:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp
r62477 r62564 582 582 uint32_t cchName, uint32_t fFlags, uint32_t cbSym) 583 583 { 584 RT_NOREF_PV(fFlags); 584 585 const char *pszName = rtDbgModCvAddSanitizedStringToCache(pchName, cchName); 585 586 int rc; … … 667 668 RTCPTRUNION uCursor; 668 669 uCursor.pv = pvSymTab; 670 671 RT_NOREF_PV(fFlags); 669 672 670 673 while (cbSymTab > 0 && RT_SUCCESS(rc)) … … 827 830 static int rtDbgModCvSsProcessV8SrcStrings(PRTDBGMODCV pThis, void const *pvSrcStrings, size_t cbSrcStrings, uint32_t fFlags) 828 831 { 832 RT_NOREF_PV(fFlags); 833 829 834 if (pThis->cbSrcStrings) 830 835 Log(("\n!!More than one source file string table for this module!!\n\n")); … … 872 877 static int rtDbgModCvSsProcessV8SrcInfo(PRTDBGMODCV pThis, void const *pvSrcInfo, size_t cbSrcInfo, uint32_t fFlags) 873 878 { 879 RT_NOREF_PV(fFlags); 880 874 881 if (pThis->cbSrcInfo) 875 882 Log(("\n!!More than one source file info table for this module!!\n\n")); … … 903 910 static int rtDbgModCvSsProcessV8SectLines(PRTDBGMODCV pThis, void const *pvSectLines, size_t cbSectLines, uint32_t fFlags) 904 911 { 912 RT_NOREF_PV(fFlags); 913 905 914 /* 906 915 * Starts with header. … … 1098 1107 { 1099 1108 PCRTCVGLOBALSYMTABHDR pHdr = (PCRTCVGLOBALSYMTABHDR)pvSubSect; 1109 RT_NOREF_PV(pDirEnt); 1100 1110 1101 1111 /* … … 1124 1134 rtDbgModCvSs_Module(PRTDBGMODCV pThis, void const *pvSubSect, size_t cbSubSect, PCRTCVDIRENT32 pDirEnt) 1125 1135 { 1136 RT_NOREF_PV(pDirEnt); 1137 1126 1138 RTCPTRUNION uCursor; 1127 1139 uCursor.pv = pvSubSect; … … 1162 1174 rtDbgModCvSs_Symbols_PublicSym_AlignSym(PRTDBGMODCV pThis, void const *pvSubSect, size_t cbSubSect, PCRTCVDIRENT32 pDirEnt) 1163 1175 { 1176 RT_NOREF_PV(pDirEnt); 1164 1177 RTDBGMODCV_CHECK_NOMSG_RET_BF(pThis->uCurStyle == RT_MAKE_U16('C', 'V')); 1165 1178 RTDBGMODCV_CHECK_NOMSG_RET_BF(cbSubSect >= 8); … … 1180 1193 rtDbgModCvSs_SrcModule(PRTDBGMODCV pThis, void const *pvSubSect, size_t cbSubSect, PCRTCVDIRENT32 pDirEnt) 1181 1194 { 1195 RT_NOREF_PV(pDirEnt); 1182 1196 Log(("rtDbgModCvSs_SrcModule: uCurStyle=%#x\n%.*Rhxd\n", pThis->uCurStyle, cbSubSect, pvSubSect)); 1183 1197 … … 1660 1674 if (pEntry1->uSubSectType > pEntry2->uSubSectType) 1661 1675 return 1; 1676 1677 RT_NOREF_PV(pvUser); 1662 1678 return 0; 1663 1679 } … … 2110 2126 PCIMAGE_LINENUMBER paLines, uint32_t cLines) 2111 2127 { 2128 RT_NOREF_PV(iSection); 2112 2129 Log4(("Adding %u line numbers in section #%u for %s\n", cLines, iSection, pszFile)); 2113 2130 PCIMAGE_LINENUMBER pCur = paLines; … … 2439 2456 { 2440 2457 PRTDBGMODCV pThis = (PRTDBGMODCV)pMod->pvDbgPriv; 2441 Assert(!pszSymbol[cchSymbol]); 2458 Assert(!pszSymbol[cchSymbol]); RT_NOREF_PV(cchSymbol); 2442 2459 return RTDbgModSymbolByName(pThis->hCnt, pszSymbol/*, cchSymbol*/, pSymInfo); 2443 2460 } … … 2572 2589 static int rtDbgModCvAddSegmentsFromDbg(PRTDBGMODCV pThis, PCIMAGE_SEPARATE_DEBUG_HEADER pDbgHdr, const char *pszFilename) 2573 2590 { 2591 RT_NOREF_PV(pszFilename); 2592 2574 2593 /* 2575 2594 * Validate the header fields a little. … … 2741 2760 uint32_t off, uint32_t cb, const char *pszFilename) 2742 2761 { 2762 RT_NOREF_PV(pszFilename); 2763 2743 2764 /* 2744 2765 * Check that there is sufficient data for a header, then read it. … … 2834 2855 { 2835 2856 int rc = VERR_DBG_NO_MATCHING_INTERPRETER; 2857 RT_NOREF_PV(enmArch); RT_NOREF_PV(pszFilename); 2836 2858 2837 2859 /* Is a codeview format we (wish to) support? */ … … 2878 2900 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser; 2879 2901 Assert(!pDbgMod->pvDbgPriv); 2902 RT_NOREF_PV(hLdrMod); 2880 2903 2881 2904 /* Skip external files, RTDbgMod will deal with those
Note:
See TracChangeset
for help on using the changeset viewer.