Debugger: Use the usual callback mechanism for LLDB, too

... instead of the custom mechanisms to funnel breakpoint ids, cookies
and similar through individual bridge functions.

Change-Id: I2b6e906078eefdbcd4ffa166dc1881a1d0f7fb51
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-09-09 16:34:09 +02:00
parent 331e9d8878
commit 3ee97ef8ab
6 changed files with 403 additions and 582 deletions

View File

@@ -4719,7 +4719,7 @@ void GdbEngine::doUpdateLocals(const UpdateParameters &params)
cmd.arg("partialVariable", params.partialVariable);
cmd.arg("sortStructMembers", boolSetting(SortStructMembers));
cmd.flags = Discardable | InUpdateLocals;
cmd.callback = [this](const DebuggerResponse &r) { handleStackFrame(r); };
cmd.callback = CB(handleStackFrame);
runCommand(cmd);
cmd.arg("passExceptions", true);