From 51fa4ae02d678893a07a655d7aae151fd8608be2 Mon Sep 17 00:00:00 2001 From: Jim Blandy 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 28c94962031..3358fc33c1b 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 780e909dbca..95021b41db2 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.30.2