This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] gdb.base/args.exp: Allow .exe in gdb output
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 20 Mar 2003 15:33:20 +0100
- Subject: Re: [PATCH] gdb.base/args.exp: Allow .exe in gdb output
- References: <20030320130729.GO21269@cygbert.vinschen.de>
Corinna Vinschen <vinschen at redhat dot com> writes:
|> Hi,
|>
|> I've checked this in as obvious:
|>
|> 2003-03-20 Corinna Vinschen <vinschen at redhat dot com>
|>
|> * gdb.base/args.exp: Expect .exe in output.
|>
|> Index: gdb.base/args.exp
|> ===================================================================
|> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/args.exp,v
|> retrieving revision 1.3
|> diff -u -p -r1.3 args.exp
|> --- gdb.base/args.exp 29 Jan 2003 23:25:43 -0000 1.3
|> +++ gdb.base/args.exp 20 Mar 2003 13:03:45 -0000
|> @@ -48,7 +48,7 @@ gdb_exit
|> gdb_start
|> gdb_reinitialize_dir $srcdir/$subdir
|> gdb_test "run" \
|> - "Starting program.*args 1 3.*3\r\n.*args\r\n1\r\n3.*Program exited normally." \
|> + "Starting program.*args(\.exe)? 1 3.*3\r\n.*args\r\n1\r\n3.*Program exited normally." \
"\." is equivalent to ".", you should probably use "\\." instead.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."