Index: gdb/testsuite/gdb.mi/mi-logging.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-logging.exp b/gdb/testsuite/gdb.mi/mi-logging.exp |
index 2c533bd1a37b13a6ef0d4b21ea947e792e3c0bc0..b38c036aa2f456e03b72f89dd9f8c938c97cfa88 100644 |
--- a/gdb/testsuite/gdb.mi/mi-logging.exp |
+++ b/gdb/testsuite/gdb.mi/mi-logging.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2012 Free Software Foundation, Inc. |
+# Copyright 2012-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -26,14 +26,14 @@ set opts {debug} |
if [build_executable $testfile.exp $testfile $srcfile $opts] { |
untested mi-logging.exp |
- return -1; |
+ return -1 |
} |
if {[mi_run_to_main] < 0} { |
return -1 |
} |
-set milogfile "milog.txt" |
+set milogfile [standard_output_file "milog.txt"] |
mi_gdb_test "-gdb-set logging file $milogfile" ".*" |