diff options
author | Jim Ingham <jingham@apple.com> | 2016-09-26 19:47:37 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-09-26 19:47:37 +0000 |
commit | f7e07256283cc080b2720ee6587b96d92ef6f9e5 (patch) | |
tree | c9fb2ed60b237f2def721efcab79b9a749f16a35 /lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command | |
parent | 6477ce2697bf1d9afd2bcc0cf0c16c7cf08713be (diff) | |
download | bcm5719-llvm-f7e07256283cc080b2720ee6587b96d92ef6f9e5.tar.gz bcm5719-llvm-f7e07256283cc080b2720ee6587b96d92ef6f9e5.zip |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py index bfc1cdf3a79..e67a6332d9d 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py @@ -94,12 +94,12 @@ class BreakpointCommandTestCase(TestBase): substrs=["Breakpoint commands:", "frame variable --show-types --scope"]) self.expect("breakpoint command list 2", "Breakpoint 2 command ok", - substrs=["Breakpoint commands:", + substrs=["Breakpoint commands (Python):", "here = open", "here.write", "here.close()"]) self.expect("breakpoint command list 3", "Breakpoint 3 command ok", - substrs=["Breakpoint commands:", + substrs=["Breakpoint commands (Python):", "bktptcmd.function(frame, bp_loc, internal_dict)"]) self.expect("breakpoint command list 4", "Breakpoint 4 command ok", |