Fix serialization of Python breakpoint commands.
authorJim Ingham <jingham@apple.com>
Mon, 26 Sep 2016 19:47:37 +0000 (19:47 +0000)
committerJim Ingham <jingham@apple.com>
Mon, 26 Sep 2016 19:47:37 +0000 (19:47 +0000)
commitf7e07256283cc080b2720ee6587b96d92ef6f9e5
treec9fb2ed60b237f2def721efcab79b9a749f16a35
parent6477ce2697bf1d9afd2bcc0cf0c16c7cf08713be
Fix serialization of Python breakpoint commands.

CommandData breakpoint commands didn't know whether they were
Python or Command line commands, so they couldn't serialize &
deserialize themselves properly.  Fix that.
I also changed the "breakpoint list" command to note in the output
when the commands are Python commands.  Fortunately only one test
was relying on this explicit bit of text output.

llvm-svn: 282432
12 files changed:
lldb/include/lldb/Breakpoint/BreakpointOptions.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/lldb-enumerations.h
lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
lldb/source/API/SBBreakpoint.cpp
lldb/source/Breakpoint/Breakpoint.cpp
lldb/source/Breakpoint/BreakpointOptions.cpp
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
lldb/source/Interpreter/ScriptInterpreter.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h