Changeset 31801 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 19, 2010 6:41:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTCoreDump.cpp
r31795 r31801 839 839 for (uint64_t i = 0; i < pVBoxProc->cMappings; i++, pMap++, pCur++) 840 840 { 841 pCur->pMap = *pMap;841 memcpy(&pCur->pMap, pMap, sizeof(pCur->pMap)); 842 842 if (pPrev) 843 843 pPrev->pNext = pCur; … … 1770 1770 ProgHdr.p_filesz = pMapInfo->pMap.pr_size; /* Size of the file image of the mapping */ 1771 1771 1772 ProgHdr.p_flags = 0; /* Reset fields in a loop when needed! */ 1772 1773 if (pMapInfo->pMap.pr_mflags & MA_READ) 1773 1774 ProgHdr.p_flags |= PF_R; … … 2149 2150 else 2150 2151 { 2152 /* @todo detect if we are awaiting for ourselves, if so don't. */ 2151 2153 CORELOGREL(("CoreSigHandler: Core dump already in progress! Waiting before signalling Sig=%d.\n", Sig)); 2152 2154 int64_t iTimeout = 10000; /* timeout (ms) */ … … 2213 2215 * Send signal to dump core. 2214 2216 */ 2215 kill(getpid(), SIG USR1);2217 kill(getpid(), SIGSEGV); 2216 2218 g_cErrors++; 2217 2219
Note:
See TracChangeset
for help on using the changeset viewer.