X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..04b8595b18b1b41ac7a206e4b3d51a635f8413d7:/tools/lldbmacros/core/standard.py diff --git a/tools/lldbmacros/core/standard.py b/tools/lldbmacros/core/standard.py index 547c49c21..70039d2da 100644 --- a/tools/lldbmacros/core/standard.py +++ b/tools/lldbmacros/core/standard.py @@ -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