Commit e5bb833d authored by Mark Florisson's avatar Mark Florisson

Remove tempfile

parent db664aeb
......@@ -1855,6 +1855,7 @@ def source_gdb_script(script_contents, to_string=False):
f.write(script_contents)
f.close()
gdb.execute("source %s" % filename, to_string=to_string)
os.remove(filename)
def register_defines():
source_gdb_script(textwrap.dedent("""\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment