Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb.base/args.exp: Allow .exe in gdb output
@ 2003-03-20 13:07 Corinna Vinschen
  2003-03-20 14:33 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2003-03-20 13:07 UTC (permalink / raw)
  To: gdb-patches

Hi,

I've checked this in as obvious:

2003-03-20  Corinna Vinschen  <vinschen@redhat.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." \
 	"correct args printed"
 
 #
@@ -59,7 +59,7 @@ gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_test "run" \
-	"Starting program.*args 1 \\\\'\\\\' 3.*4\r\n.*args\r\n1\r\n''\r\n3.*Program exited normally." \
+	"Starting program.*args(\.exe)? 1 \\\\'\\\\' 3.*4\r\n.*args\r\n1\r\n''\r\n3.*Program exited normally." \
 	"correct args printed, one empty"
 
 #
@@ -70,7 +70,7 @@ gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_test "run" \
-	"Starting program.*args 1 \\\\'\\\\' \\\\'\\\\' 3.*5\r\n.*args\r\n1\r\n''\r\n''\r\n3.*Program exited normally." \
+	"Starting program.*args(\.exe)? 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
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gdb.base/args.exp: Allow .exe in gdb output
  2003-03-20 13:07 [PATCH] gdb.base/args.exp: Allow .exe in gdb output Corinna Vinschen
@ 2003-03-20 14:33 ` Andreas Schwab
  2003-03-20 14:42   ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2003-03-20 14:33 UTC (permalink / raw)
  To: gdb-patches

Corinna Vinschen <vinschen@redhat.com> writes:

|> Hi,
|> 
|> I've checked this in as obvious:
|> 
|> 2003-03-20  Corinna Vinschen  <vinschen@redhat.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@suse.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."


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gdb.base/args.exp: Allow .exe in gdb output
  2003-03-20 14:33 ` Andreas Schwab
@ 2003-03-20 14:42   ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2003-03-20 14:42 UTC (permalink / raw)
  To: gdb-patches

On Thu, Mar 20, 2003 at 03:33:20PM +0100, Andreas Schwab wrote:
> "\." is equivalent to ".", you should probably use "\\." instead.

Oops, fixed.

Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-20 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-20 13:07 [PATCH] gdb.base/args.exp: Allow .exe in gdb output Corinna Vinschen
2003-03-20 14:33 ` Andreas Schwab
2003-03-20 14:42   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox