perftest/utils.py (select_file): Kill any existing inferior before selecting a new...
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.perf / lib / perftest / utils.py
index e3b34430533756a53717e9482f032c8b1d4fe89d..8598003ab2f82849aaccc9726e28dc5e33062b01 100644 (file)
@@ -36,6 +36,7 @@ def select_file(file_name):
     N.B. This turns confirmation off.
     """
     safe_execute("set confirm off")
+    safe_execute("kill")
     print ("Selecting file %s" % (file_name))
     if file_name is None:
         gdb.execute("file")
This page took 0.025286 seconds and 4 git commands to generate.