Fixes: - Custom Dumpers on Mac

RevBy:    - hjk
This commit is contained in:
con
2008-12-08 18:38:25 +01:00
parent 502bc0df63
commit 6761ca0c10

View File

@@ -3971,7 +3971,7 @@ void GdbEngine::tryLoadCustomDumpers()
if (qq->useFastStart())
sendCommand("set stop-on-solib-events 0");
QString flag = QString::number(RTLD_NOW);
sendCommand("call dlopen(\"" + lib + "\", " + flag + ")");
sendCommand("call (void)dlopen(\"" + lib + "\", " + flag + ")");
sendCommand("sharedlibrary " + dotEscape(lib));
if (qq->useFastStart())
sendCommand("set stop-on-solib-events 1");