| Index: gdb/testsuite/gdb.base/macscp.exp
|
| diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp
|
| index 1f995d570643e5f86a8844ab9a0503ec7412c02f..7c25eed3231ad840757953ede8daf672b2339928 100644
|
| --- a/gdb/testsuite/gdb.base/macscp.exp
|
| +++ b/gdb/testsuite/gdb.base/macscp.exp
|
| @@ -1,5 +1,5 @@
|
| # Test macro scoping.
|
| -# Copyright 2002, 2007-2012 Free Software Foundation, Inc.
|
| +# Copyright 2002-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
|
| @@ -15,10 +15,8 @@
|
| # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
| -set srcfile macscp1.c
|
| -set testfile "macscp"
|
| -set objfile ${objdir}/${subdir}/${testfile}.o
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile macscp1.c
|
| +set objfile [standard_output_file ${testfile}.o]
|
|
|
| set options { debug additional_flags=-DFROM_COMMANDLINE=ARG}
|
|
|
| @@ -36,10 +34,7 @@ if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \
|
| return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| +clean_restart ${binfile}
|
|
|
|
|
| # Ask GDB to show the current definition of MACRO, and return a list
|
|
|