From f50ab445a9f8cf6376ac0b8f84008f2a4dafe510 Mon Sep 17 00:00:00 2001 From: jimb Date: Thu, 17 Jun 2004 21:07:42 +0000 Subject: [PATCH] * 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. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/charset.exp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 28c9496203..3358fc33c1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-06-17 Jim Blandy + + * 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 * gdb.cp/printmethod.cc: Add copyright notice. diff --git a/gdb/testsuite/gdb.base/charset.exp b/gdb/testsuite/gdb.base/charset.exp index 780e909dbc..95021b41db 100644 --- a/gdb/testsuite/gdb.base/charset.exp +++ b/gdb/testsuite/gdb.base/charset.exp @@ -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" } -- 2.11.0