* 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.
This commit is contained in:
Jim Blandy 2004-06-17 21:07:42 +00:00
parent 8fea26c5a5
commit 51fa4ae02d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-06-17 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.
2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/printmethod.cc: Add copyright notice.

View File

@ -200,7 +200,6 @@ gdb_expect {
-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"
}