mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10002
This commit is contained in:
parent
d900f2f194
commit
3041d396c9
|
@ -798,19 +798,23 @@ int DebuggerInitialize( LPCSTR pszBOINCLocation, LPCSTR pszSymbolStore, BOOL bPr
|
|||
if (g_hSymSrvDll) {
|
||||
pSSSO = (tSSSO)GetProcAddress(g_hSymSrvDll, "SymbolServerSetOptions");
|
||||
if (pSSSO) {
|
||||
if (!pSSSO(SSRVOPT_TRACE, TRUE)) {
|
||||
if (!pSSSO(SSRVOPT_TRACE, (ULONG64)TRUE)) {
|
||||
_ftprintf(stderr, _T("SymbolServerSetOptions(): Register Trace Failed, GetLastError = %lu\n"), gle);
|
||||
}
|
||||
if (!pSSSO(SSRVOPT_CALLBACK, (ULONG64)SymbolServerCallbackProc)) {
|
||||
_ftprintf(stderr, _T("SymbolServerSetOptions(): Register Callback Failed, GetLastError = %lu\n"), gle);
|
||||
}
|
||||
if (!pSSSO(SSRVOPT_UNATTENDED, TRUE)) {
|
||||
if (!pSSSO(SSRVOPT_UNATTENDED, (ULONG64)TRUE)) {
|
||||
_ftprintf(stderr, _T("SymbolServerSetOptions(): Register Unattended Failed, GetLastError = %lu\n"), gle);
|
||||
}
|
||||
if (bProxyEnabled) {
|
||||
if (!pSSSO(SSRVOPT_PROXY, (ULONG64)pszProxyServer)) {
|
||||
_ftprintf(stderr, _T("SymbolServerSetOptions(): Register Proxy Failed, GetLastError = %lu\n"), gle);
|
||||
}
|
||||
} else {
|
||||
if (!pSSSO(SSRVOPT_PROXY, (ULONG64)NULL) {
|
||||
_ftprintf(stderr, _T("SymbolServerSetOptions(): Register Proxy Failed, GetLastError = %lu\n"), gle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -943,6 +947,7 @@ int DebuggerInitialize( LPCSTR pszBOINCLocation, LPCSTR pszSymbolStore, BOOL bPr
|
|||
symOptions |= SYMOPT_AUTO_PUBLICS;
|
||||
symOptions |= SYMOPT_NO_IMAGE_SEARCH;
|
||||
symOptions |= SYMOPT_DEBUG;
|
||||
symOptions |= SYMOPT_NO_PROMPTS;
|
||||
pSSO( symOptions ); // SymSetOptions()
|
||||
|
||||
// init symbol handler stuff (SymInitialize())
|
||||
|
|
Loading…
Reference in New Issue