Adding a new --python-function (-F) option to breakpoint command add. The option allows the user to specify a Python function name instead of a Python oneliner or interactive script input as a breakpoint command
llvm-svn: 154026
diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py b/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
new file mode 100644
index 0000000..3018664
--- /dev/null
+++ b/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
@@ -0,0 +1,4 @@
+def function(frame, bp_loc, dict):
+ there = open("output2.txt", "w");
+ print >> there, "lldb";
+ there.close()