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:
parent
6ff0ba5f7b
commit
604b263620
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-08-14 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
|
||||
inferior before selecting a new file.
|
||||
|
||||
2015-08-14 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* gdb.mi/mi-disassemble.exp: Update.
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue