* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
authorJim Blandy <jimb@codesourcery.com>
Thu, 17 Jun 2004 21:07:42 +0000 (21:07 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 17 Jun 2004 21:07:42 +0000 (21:07 +0000)
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/charset.exp

index 28c94962031ca28162835cbf0a18cd37e787ec4b..3358fc33c1b1e34b20f2a7f1d9ea558ae58ce47a 100644 (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.
index 780e909dbcaa8198c528bd9af30f843bf9ed2e28..95021b41db23833f3c8bcd99b01ef52f76603d02 100644 (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"
     }
 
This page took 0.0541 seconds and 4 git commands to generate.