Changeset 40696 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Mar 28, 2012 4:34:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/dbg-r0drv-solaris.c
r40695 r40696 75 75 * @return IPRT status code. 76 76 */ 77 static int rt r0DbgKrnlInfoModRetain(char *pszModule, modclt_t **ppMod, ctf_file_t **ppCTF)77 static int rtR0DbgKrnlInfoModRetain(char *pszModule, modclt_t **ppMod, ctf_file_t **ppCTF) 78 78 { 79 79 AssertPtrReturn(pszModule, VERR_INVALID_PARAMETER); … … 100 100 else 101 101 { 102 LogRel(("rt r0DbgKrnlInfoModRetain: ctf_modopen failed for '%s' err=%d\n", pszModule, err));102 LogRel(("rtR0DbgKrnlInfoModRetain: ctf_modopen failed for '%s' err=%d\n", pszModule, err)); 103 103 rc = VERR_INTERNAL_ERROR_3; 104 104 } … … 108 108 else 109 109 { 110 LogRel(("rt r0DbgKrnlInfoModRetain: mod_hold_by_id failed for '%s'\n" pszModule));110 LogRel(("rtR0DbgKrnlInfoModRetain: mod_hold_by_id failed for '%s'\n" pszModule)); 111 111 rc = VERR_INTERNAL_ERROR_2; 112 112 } … … 114 114 else 115 115 { 116 LogRel(("rt r0DbgKrnlInfoModRetain: mod_name_to_modid failed for '%s'\n", pszModule));116 LogRel(("rtR0DbgKrnlInfoModRetain: mod_name_to_modid failed for '%s'\n", pszModule)); 117 117 rc = VERR_INTERNAL_ERROR; 118 118 } … … 128 128 * @param pCTF Pointer to the module's CTF handle. 129 129 */ 130 static void rt r0DbgKrnlInfoModRelease(modctl_t *pMod, ctf_file_t *pCTF)130 static void rtR0DbgKrnlInfoModRelease(modctl_t *pMod, ctf_file_t *pCTF) 131 131 { 132 132 AssertPtrReturnVoid(pMod); … … 149 149 150 150 char szGenUnixModName[] = "genunix"; 151 int rc = rt r0DbgKrnlInfoModRetain(szGenUnixModName, &pThis->pGenUnixMod, &pThis->pGenUnixCTF);151 int rc = rtR0DbgKrnlInfoModRetain(szGenUnixModName, &pThis->pGenUnixMod, &pThis->pGenUnixCTF); 152 152 if (RT_SUCCESS(rc)) 153 153 { … … 159 159 } 160 160 161 LogRel(("RTR0DbgKrnlInfoOpen: rt r0DbgKrnlOpenModfailed rc=%d.\n", rc));161 LogRel(("RTR0DbgKrnlInfoOpen: rtR0DbgKrnlInfoModRetain failed rc=%d.\n", rc)); 162 162 RTMemFree(pThis); 163 163 return rc; … … 186 186 { 187 187 pThis->u32Magic = ~RTDBGKRNLINFO_MAGIC; 188 rt r0DbgKrnlInfoModRelease(pThis->pGenUnixCTF, pThis->pGenUnixCTF);188 rtR0DbgKrnlInfoModRelease(pThis->pGenUnixCTF, pThis->pGenUnixCTF); 189 189 RTMemFree(pThis); 190 190 }
Note:
See TracChangeset
for help on using the changeset viewer.