]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/lldbmacros/core/standard.py
xnu-2782.1.97.tar.gz
[apple/xnu.git] / tools / lldbmacros / core / standard.py
index 547c49c2172284933e3bd9956963b10e294ba289..70039d2da0980b170f4751491f7b12526c3741d0 100644 (file)
@@ -107,6 +107,7 @@ class CommandOutput(object):
                 self.fname=os.path.normpath(os.path.expanduser(a.strip()))
                 self.fhandle=open(self.fname,"w")
                 print "saving results in file ",str(a)
+                self.fhandle.write("(lldb)%s \n" % " ".join(cmdargs))
             elif o == "-s" and len(a) > 0:
                 self.reg = re.compile(a.strip(),re.MULTILINE|re.DOTALL)
                 self.FILTER=True