2003-01-15 Elena Zannoni <ezannoni@redhat.com>

* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
This commit is contained in:
Elena Zannoni 2003-01-16 01:13:18 +00:00
parent 388ef33ffd
commit c362c33a0d
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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