From: Elena Zannoni Date: Thu, 16 Jan 2003 01:13:18 +0000 (+0000) Subject: 2003-01-15 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c362c33a0d5c1919c5097a4004d1670338789812;p=binutils-gdb.git 2003-01-15 Elena Zannoni * gdb.base/args.exp: Fix foobar with GDBFLAGS global. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0a46cd724e4..76c72b56ae6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-01-15 Elena Zannoni + + * gdb.base/args.exp: Fix foobar with GDBFLAGS global. + 2003-01-15 Mark Kettenis * gdb.base/default.exp: Adapt "info float" test for recent changes diff --git a/gdb/testsuite/gdb.base/args.exp b/gdb/testsuite/gdb.base/args.exp index e4d00d0ba5a..d3c5470a8c2 100644 --- a/gdb/testsuite/gdb.base/args.exp +++ b/gdb/testsuite/gdb.base/args.exp @@ -37,6 +37,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # # Test that the --args are processed correctly. # +set old_gdbflags $GDBFLAGS set GDBFLAGS "--args $binfile 1 3" gdb_exit gdb_start @@ -67,4 +68,5 @@ gdb_test "run" \ "Starting program.*args 1 \\\\'\\\\' \\\\'\\\\' 3.*5\r\n.*args\r\n1\r\n''\r\n''\r\n3.*Program exited normally." \ "correct args printed, two empty" +set GDBFLAGS $old_gdbflags