mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
perftest/utils.py (select_file): Kill any existing inferior before selecting a new file.
gdb/testsuite/ChangeLog: * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing inferior before selecting a new file.
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user