================
@@ -35,7 +35,8 @@ def start_gdb_log(debugger, command, result, dict):
else:
args_len = len(args)
if args_len == 0:
- log_file = tempfile.mktemp()
+ with tempfile.NamedTemporaryFile(delete=False) as tmp:
----------------
vitalybuka wrote:
If one of this cases is incorrect, unlikely it will apply to the rest of the
patch. So I slightly prefer to keep them separate for convenience of revert.
And I see no benefits of keeping them together.
https://github.com/llvm/llvm-project/pull/210123
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits