Changeset 32353 in vbox
- Timestamp:
- Sep 9, 2010 12:53:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r32350 r32353 65 65 volatile static bool g_fCoreDumpDeliberate = false; 66 66 volatile static bool g_fCoreDumpInProgress = false; 67 volatile static bool g_fCoreDumpLiveCore = false;68 67 volatile static uint32_t g_fCoreDumpFlags = 0; 69 68 static char g_szCoreDumpDir[PATH_MAX] = { 0 }; … … 2172 2171 } 2173 2172 2174 if ( ASMAtomicReadBool(&g_fCoreDumpLiveCore) == false)2173 if (Sig == SIGSEGV || Sig == SIGBUS) 2175 2174 { 2176 2175 /* … … 2228 2227 2229 2228 ASMAtomicWriteBool(&g_fCoreDumpDeliberate, true); 2230 ASMAtomicWriteBool(&g_fCoreDumpLiveCore, fLiveCore);2231 2229 2232 2230 if (fLiveCore == false) 2233 2231 raise(SIGSEGV); 2234 2232 else 2235 {2236 2233 raise(SIGUSR2); 2237 ASMAtomicWriteBool(&g_fCoreDumpLiveCore, false);2238 }2239 2234 2240 2235 ASMAtomicWriteBool(&g_fCoreDumpDeliberate, false);
Note:
See TracChangeset
for help on using the changeset viewer.