aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/charset.exp1
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 28c9496..3358fc3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
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"
}