This path adds -gdb-show command with 1 option: target-async.
Also it adds tests for -gdb-set and -gdb-show commands.
All tests pass on OS X.
Paths
| Differential D8566
Add -gdb-show and target-async option in -gdb-show command (MI) ClosedPublic Authored by ki.stfu on Mar 23 2015, 2:14 PM.
Details Summary This path adds -gdb-show command with 1 option: target-async. Also it adds tests for -gdb-set and -gdb-show commands. All tests pass on OS X.
Diff Detail Event Timelineabidh edited edge metadata. Comment ActionsI was wondering if there is a way to share code with -gdb-set command because there is a lot of similar code in these 2 command implementation. Otherwise ok.
This revision is now accepted and ready to land.Mar 24 2015, 10:37 AM Comment Actions
Agree. But I don't know how to do that. ki.stfu edited edge metadata. Comment ActionsAdd a comment to CMICmdCmdGdbShow::Execute and CMICmdCmdGdbSet::Execute This revision is now accepted and ready to land.Mar 24 2015, 2:14 PM
Revision Contents
Diff 22600 test/tools/lldb-mi/TestMiGdbSetShow.py
tools/lldb-mi/CMakeLists.txt
tools/lldb-mi/MICmdCmdGdbSet.cpp
tools/lldb-mi/MICmdCmdGdbShow.h
tools/lldb-mi/MICmdCmdGdbShow.cpp
tools/lldb-mi/MICmdCommands.cpp
|
I think it will be useful to comment here that option can be a multi-word thing like "debug remote". So the first word is used to find the function and 2nd is used as argument to that function.