* Re: RFA: gdb.base/charset.exp: don't use expect_out without regexp groups
@ 2004-06-04 16:18 Michael Elizabeth Chastain
2004-06-04 21:53 ` Jim Blandy
0 siblings, 1 reply; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2004-06-04 16:18 UTC (permalink / raw)
To: gdb-patches, jimb
Proofread, looks okay to me.
Testing? Did you test it?
In the ChangeLog, you say "remove commented-out code", but in the
patch, there's no removal of commented-out code.
Michael C
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFA: gdb.base/charset.exp: don't use expect_out without regexp groups
2004-06-04 16:18 RFA: gdb.base/charset.exp: don't use expect_out without regexp groups Michael Elizabeth Chastain
@ 2004-06-04 21:53 ` Jim Blandy
0 siblings, 0 replies; 4+ messages in thread
From: Jim Blandy @ 2004-06-04 21:53 UTC (permalink / raw)
To: Michael Elizabeth Chastain; +Cc: gdb-patches
mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:
> Proofread, looks okay to me.
>
> Testing? Did you test it?
Tested on powerpc-ibm-aix4.3.3.0, powerpc-unknown-linux-gnu, and
i686-pc-linux-gnu.
> In the ChangeLog, you say "remove commented-out code", but in the
> patch, there's no removal of commented-out code.
Thanks --- I decided to submit that as a separate patch, but forgot to
update the ChangeLog entry. Corrected:
2004-06-03 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
Index: gdb/testsuite/gdb.base/charset.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/charset.exp,v
retrieving revision 1.3
diff -c -p -r1.3 charset.exp
*** gdb/testsuite/gdb.base/charset.exp 26 Feb 2004 17:23:23 -0000 1.3
--- gdb/testsuite/gdb.base/charset.exp 4 Jun 2004 04:30:40 -0000
*************** gdb_expect {
*** 200,206 ****
-re "\\.\r\n$gdb_prompt $" {
#set host_charset_list $expect_out(1,string)
- set charsets($expect_out(1,string)) 1
pass "capture valid host charsets"
}
--- 200,205 ----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RFA: gdb.base/charset.exp: don't use expect_out without regexp groups
@ 2004-06-04 23:46 Michael Elizabeth Chastain
0 siblings, 0 replies; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2004-06-04 23:46 UTC (permalink / raw)
To: jimb, mec.gnu; +Cc: gdb-patches
> Tested on powerpc-ibm-aix4.3.3.0, powerpc-unknown-linux-gnu, and
> i686-pc-linux-gnu.
Cool.
Recommended for self-approval.
Here's the add-on hit (which is a separate issue) ... can I get you
to mail in one of these powerpc-ibm-aix4.3.3.0 gdb.sum files to
gdb-testers. Like, "grep -v '^PASS' gdb.sum" to remove the PASS
results first. And add a blurb at the top saying what compiler was
used to compile the test programs.
Michael C
===
2004-06-03 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RFA: gdb.base/charset.exp: don't use expect_out without regexp groups
@ 2004-06-04 4:31 Jim Blandy
0 siblings, 0 replies; 4+ messages in thread
From: Jim Blandy @ 2004-06-04 4:31 UTC (permalink / raw)
To: gdb-patches
This looks like a cut-and-paste mistake to me. There's nothing in the
regexp for $expect_out to be referring to, so (in my case) this would
grab random text produced by callfuncs.exp and treat it as a host
charset name.
2004-06-03 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was. Remove commented-out
code.
Index: gdb/testsuite/gdb.base/charset.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/charset.exp,v
retrieving revision 1.3
diff -c -p -r1.3 charset.exp
*** gdb/testsuite/gdb.base/charset.exp 26 Feb 2004 17:23:23 -0000 1.3
--- gdb/testsuite/gdb.base/charset.exp 4 Jun 2004 04:30:40 -0000
*************** gdb_expect {
*** 200,206 ****
-re "\\.\r\n$gdb_prompt $" {
#set host_charset_list $expect_out(1,string)
- set charsets($expect_out(1,string)) 1
pass "capture valid host charsets"
}
--- 200,205 ----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-04 23:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-04 16:18 RFA: gdb.base/charset.exp: don't use expect_out without regexp groups Michael Elizabeth Chastain
2004-06-04 21:53 ` Jim Blandy
-- strict thread matches above, loose matches on Subject: below --
2004-06-04 23:46 Michael Elizabeth Chastain
2004-06-04 4:31 Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox