diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-16 01:13:18 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-16 01:13:18 +0000 |
commit | c362c33a0d5c1919c5097a4004d1670338789812 (patch) | |
tree | dc4007b86491bc34c83f2d8c42b084595283116d | |
parent | 388ef33ffd491e25b9d0c241e8b8595dda1024d6 (diff) | |
download | gdb-c362c33a0d5c1919c5097a4004d1670338789812.zip gdb-c362c33a0d5c1919c5097a4004d1670338789812.tar.gz gdb-c362c33a0d5c1919c5097a4004d1670338789812.tar.bz2 |
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/args.exp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0a46cd7..76c72b5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-01-15 Elena Zannoni <ezannoni@redhat.com> + + * gdb.base/args.exp: Fix foobar with GDBFLAGS global. + 2003-01-15 Mark Kettenis <kettenis@gnu.org> * 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 e4d00d0..d3c5470 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 |