aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/charset.exp
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-06-17 21:07:42 +0000
committerJim Blandy <jimb@codesourcery.com>2004-06-17 21:07:42 +0000
commit51fa4ae02d678893a07a655d7aae151fd8608be2 (patch)
treef93d736efd6535a1ab83f52905f717e8ec666e0a /gdb/testsuite/gdb.base/charset.exp
parent8fea26c5a5c1c63b2cf819bca520f8a99d8eba80 (diff)
downloadgdb-51fa4ae02d678893a07a655d7aae151fd8608be2.zip
gdb-51fa4ae02d678893a07a655d7aae151fd8608be2.tar.gz
gdb-51fa4ae02d678893a07a655d7aae151fd8608be2.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.base/charset.exp')
-rw-r--r--gdb/testsuite/gdb.base/charset.exp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/charset.exp b/gdb/testsuite/gdb.base/charset.exp
index 780e909..95021b4 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"
}