Added a 'gdbremote' python module that adds two commands: start_gdb_log and end_gdb_log.
When this is imported into your lldb using the "command script import /path/to/gdbremote.py"
these new commands are available within LLDB. 'start_gdb_log' will enable logging with 
timestamps for GDB remote packets, and 'stop_gdb_log' will then dump the details and
also a lot of packet timing data. This allows us to accurately track what packets are
taking up the most time when debugging (when using the ProcessGDBRemote debugging plug-in).

Also udpated the comments at the top of the cmdtemplate.py to show how to correctly import
the module from within LLDB.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149030 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/python/cmdtemplate.py b/examples/python/cmdtemplate.py
index b7ad0a3..33dee94 100644
--- a/examples/python/cmdtemplate.py
+++ b/examples/python/cmdtemplate.py
@@ -3,10 +3,10 @@
 #----------------------------------------------------------------------
 # Be sure to add the python path that points to the LLDB shared library.
 #
-# To use this in the embedded python interpreter using "lldb":
-#   % cd /path/containing/cmdtemplate.py
-#   % lldb
-#   (lldb) script import cmdtemplate
+# # To use this in the embedded python interpreter using "lldb" just
+# import it with the full path using the "command script import" 
+# command
+#   (lldb) command script import /path/to/cmdtemplate.py
 #
 # For the shells csh, tcsh:
 #   ( setenv PYTHONPATH /path/to/LLDB.framework/Resources/Python ; ./cmdtemplate.py )