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 | bee247197641c6d05bd1b8448f061f7932dcd299 (patch) | |
tree | 20edbbcd6969a11cbea16fddeb147f050e408bf1 /gdb | |
parent | d826142c7f6a253ed6f3158ca2b6a3c5848b6470 (diff) | |
download | gdb-bee247197641c6d05bd1b8448f061f7932dcd299.tar.gz |
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
Diffstat (limited to 'gdb')
-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 0a46cd724e4..76c72b56ae6 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 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 |