Fix Windows-target testing in mi_gdb_file_cmd
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 Nov 2020 19:44:20 +0000 (19:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 18 Nov 2020 19:44:20 +0000 (19:44 +0000)
commit6b6a3e057eaab9735b683e32fe55f3ebf4ebae7e
tree48db249f7aac8abfe3d92ac570d9dd4567ab1533
parent5d8254e18560653d6d4d4d62be2a35ef68de4376
Fix Windows-target testing in mi_gdb_file_cmd

Similar to my recent fix for gdb_file_cmd, mi_gdb_file_cmd also runs
into problems when GCC has created foo.exe given "-o foo".

Apply exactly the same fix there as in gdb_file_cmd.  This allows many
more tests to succeed for Windows target that previously fell over.

2020-11-18  Joseph Myers  <joseph@codesourcery.com>

* lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
$arg.exe exists but $arg does not.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp
This page took 0.031425 seconds and 4 git commands to generate.