* [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo
@ 2004-09-01 14:06 Corinna Vinschen
2004-09-01 16:23 ` Michael Chastain
0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2004-09-01 14:06 UTC (permalink / raw)
To: gdb-patches
Hi,
call-rt-st.exp contains two typos which result in testing against the wrong
datatype. Patch tested on Linux natively and on linux-x-sh-elf BE and LE.
Corinna
* gdb.base/call-rt-st.exp: Fix typos.
Index: gdb.base/call-rt-st.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/call-rt-st.exp,v
retrieving revision 1.15
diff -u -p -r1.15 call-rt-st.exp
--- gdb.base/call-rt-st.exp 6 Jan 2004 19:05:14 -0000 1.15
+++ gdb.base/call-rt-st.exp 1 Sep 2004 14:05:37 -0000
@@ -187,13 +187,13 @@ if {![gdb_skip_float_test "print print_t
".*Contents of two_floats_t:\[ \r\n\]+-2\\.345000\[ \t]+1\\.000000\[ \r\n\]+.\[0-9\]+ = \\{float1 = -2\\.34500003, float2 = 1\\}"
}
-if ![gdb_skip_stdio_test "print print_bit_flags_char(*flags)"] {
- print_struct_call "print_bit_flags_char(*flags)" \
+if ![gdb_skip_stdio_test "print print_bit_flags_char(*cflags)"] {
+ print_struct_call "print_bit_flags_char(*cflags)" \
".*alpha\[ \r\n\]+gamma\[ \r\n\]+epsilon\[ \r\n\]+.\[0-9\]+ = \\{alpha = 1 '\\\\001', beta = 0 '\\\\0', gamma = 1 '\\\\001', delta = 0 '\\\\0', epsilon = 1 '\\\\001', omega = 0 '\\\\0'\\}"
}
-if ![gdb_skip_stdio_test "print print_bit_flags_short(*flags)"] {
- print_struct_call "print_bit_flags_short(*flags)" \
+if ![gdb_skip_stdio_test "print print_bit_flags_short(*sflags)"] {
+ print_struct_call "print_bit_flags_short(*sflags)" \
".*alpha\[ \r\n\]+gamma\[ \r\n\]+epsilon\[ \r\n\]+.\[0-9\]+ = \\{alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0\\}"
}
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo
2004-09-01 14:06 [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo Corinna Vinschen
@ 2004-09-01 16:23 ` Michael Chastain
2004-09-01 16:36 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: Michael Chastain @ 2004-09-01 16:23 UTC (permalink / raw)
To: gdb-patches
Approved. Thank you!
> * gdb.base/call-rt-st.exp: Fix typos.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo
2004-09-01 16:23 ` Michael Chastain
@ 2004-09-01 16:36 ` Corinna Vinschen
0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2004-09-01 16:36 UTC (permalink / raw)
To: gdb-patches
On Sep 1 12:23, Michael Chastain wrote:
> Approved. Thank you!
>
> > * gdb.base/call-rt-st.exp: Fix typos.
Applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-01 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01 14:06 [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo Corinna Vinschen
2004-09-01 16:23 ` Michael Chastain
2004-09-01 16:36 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox