[testsuite] Make the testsuite work on mingw
authorChristian Biesinger <cbiesinger@google.com>
Wed, 14 Aug 2019 23:13:04 +0000 (18:13 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 15 Aug 2019 16:14:35 +0000 (11:14 -0500)
commit97dd8e07d998f5f0fcd0d06fd53e2ae9d337d222
tree0af01eb3fea1c8f50bdc64d294151e6966b4a7ad
parent6ae978f133a67d34d01b6bb2053f1ba20ad13eeb
[testsuite] Make the testsuite work on mingw

Dejagnu produces an objdir like /c/, but GDB expects something like c:/.
So fix it up in lib/gdb.exp.

gdb/testsuite/ChangeLog:

2019-08-14  Christian Biesinger  <cbiesinger@google.com>

* lib/gdb.exp: When running on a mingw target, replace
/x/ with x:/.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp