summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-22 22:19:37 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-22 22:19:37 +0000
commit7d37cbc0ef93fa675bdcf836662bf03978b0e1af (patch)
tree15852b29a7824201bc38ccf79eb473b86564bbd1 /gdb/testsuite
parent05feb9b671b380d594d821085920053f53c72805 (diff)
downloadgdb-7d37cbc0ef93fa675bdcf836662bf03978b0e1af.tar.gz
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp18
2 files changed, 22 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index da681a6b34e..ed7d8b0a1de 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-22 Andrew Cagney <ac131313@redhat.com>
+
+ * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
+ setlocale, bindtextdomain and textdomain.
+
2002-06-11 Jim Blandy <jimb@redhat.com>
* lib/gdb.exp (get_debug_format): Tolerate message saying whether
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index 83ceb620e8e..85e9fa79af6 100644
--- a/gdb/testsuite/gdb.base/selftest.exp
+++ b/gdb/testsuite/gdb.base/selftest.exp
@@ -52,7 +52,7 @@ proc do_steps_and_nexts {} {
gdb_reinitialize_dir $srcdir/..
- for {set count 0} {$count < 22} {incr count} {
+ for {set count 0} {$count < 26} {incr count} {
send_gdb "list\n"
gdb_expect {
-re ".*context = data.*$gdb_prompt $" {
@@ -142,6 +142,22 @@ proc do_steps_and_nexts {} {
-re ".*dirarg = .* xmalloc.*$gdb_prompt $" {
return
}
+ -re ".*setlocale .LC_MESSAGES,.*$gdb_prompt $" {
+ set description "next over setlocale LC_MESSAGES"
+ set command "next"
+ }
+ -re ".*setlocale .LC_CTYPE,.*$gdb_prompt $" {
+ set description "next over setlocale LC_CTYPE"
+ set command "next"
+ }
+ -re ".*bindtextdomain .PACKAGE, LOCALEDIR.;.*$gdb_prompt $" {
+ set description "next over bindtextdomain"
+ set command "next"
+ }
+ -re ".*textdomain .PACKAGE.;.*$gdb_prompt $" {
+ set description "next over textdomain PACKAGE"
+ set command "next"
+ }
-re "\[ \t\]+\{\r\n$gdb_prompt $" {
setup_xfail "mips-*-irix5*"
fail "$description ended up at odd location"