Commit b9c86e8b authored by hjk's avatar hjk
Browse files

Merge commit 'c9a54c97'

parents c3b5202e c9a54c97
...@@ -3985,9 +3985,9 @@ void GdbEngine::tryLoadCustomDumpers() ...@@ -3985,9 +3985,9 @@ void GdbEngine::tryLoadCustomDumpers()
//if (qq->useFastStart()) //if (qq->useFastStart())
// sendCommand("set stop-on-solib-events 0"); // sendCommand("set stop-on-solib-events 0");
QString flag = QString::number(RTLD_NOW); QString flag = QString::number(RTLD_NOW);
sendSyncronizedCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")", sendSynchronizedCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")",
WatchDumpCustomSetup); WatchDumpCustomSetup);
sendSyncronizedCommand("sharedlibrary " + dotEscape(lib)); sendSynchronizedCommand("sharedlibrary " + dotEscape(lib));
//if (qq->useFastStart()) //if (qq->useFastStart())
// sendCommand("set stop-on-solib-events 1"); // sendCommand("set stop-on-solib-events 1");
} else { } else {
...@@ -4002,9 +4002,9 @@ void GdbEngine::tryLoadCustomDumpers() ...@@ -4002,9 +4002,9 @@ void GdbEngine::tryLoadCustomDumpers()
// sendCommand("set stop-on-solib-events 0"); // sendCommand("set stop-on-solib-events 0");
//sendCommand("handle SIGSEGV pass stop print"); //sendCommand("handle SIGSEGV pass stop print");
//sendCommand("set unwindonsignal off"); //sendCommand("set unwindonsignal off");
sendSyncronizedCommand("call LoadLibraryA(\"" + lib + "\")", sendSynchronizedCommand("call LoadLibraryA(\"" + lib + "\")",
WatchDumpCustomSetup); WatchDumpCustomSetup);
sendSyncronizedCommand("sharedlibrary " + dotEscape(lib)); sendSynchronizedCommand("sharedlibrary " + dotEscape(lib));
//if (qq->useFastStart()) //if (qq->useFastStart())
// sendCommand("set stop-on-solib-events 1"); // sendCommand("set stop-on-solib-events 1");
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment