summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2001-02-18 19:59:57 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2001-02-18 19:59:57 +0000
commita7e89177e309e367de125a0b59eb22eb47f3de8f (patch)
treeb3cfa3cb6fa942cb76ea2a12ba3636f6a1f3cbc6 /gdb/testsuite
parent8293ef58f6826744d8a0322e4a82040feb16f6b1 (diff)
downloadgdb-a7e89177e309e367de125a0b59eb22eb47f3de8f.tar.gz
2001-02-18 Michael Chastain <chastain@redhat.com>
* gdb.c++/classes.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic. * gdb.c++/virtfunc.exp (do_tests): Likewise. (gdb_virtfunc_restart): Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.c++/classes.exp4
-rw-r--r--gdb/testsuite/gdb.c++/virtfunc.exp6
3 files changed, 13 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 989c897251a..4f0d3248f6f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2001-02-18 Michael Chastain <chastain@redhat.com>
+
+ * gdb.c++/classes.exp (do_tests): Change runto statements
+ from "runto 'foo(void)'" to "runto 'foo'". This makes the
+ statements demangler agnostic.
+ * gdb.c++/virtfunc.exp (do_tests): Likewise.
+ (gdb_virtfunc_restart): Likewise.
+
2001-02-14 Michael Chastain <chastain@redhat.com>
* gdb.c++/inherit.exp (do_tests): Change runto statements
diff --git a/gdb/testsuite/gdb.c++/classes.exp b/gdb/testsuite/gdb.c++/classes.exp
index 9c53976acce..f3b9e42d049 100644
--- a/gdb/testsuite/gdb.c++/classes.exp
+++ b/gdb/testsuite/gdb.c++/classes.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1994, 1995, 1997, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1994, 1995, 1997, 1999, 2001 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -826,7 +826,7 @@ proc do_tests {} {
test_ptype_class_objects
- if [ runto 'inheritance2(void)' ] then {
+ if [ runto 'inheritance2' ] then {
test_non_inherited_member_access
test_wrong_class_members
test_nonexistent_members
diff --git a/gdb/testsuite/gdb.c++/virtfunc.exp b/gdb/testsuite/gdb.c++/virtfunc.exp
index 3e2bbdefd60..7512d4377fa 100644
--- a/gdb/testsuite/gdb.c++/virtfunc.exp
+++ b/gdb/testsuite/gdb.c++/virtfunc.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1994, 1997, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1994, 1997, 1999, 2001 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@ proc gdb_virtfunc_restart {} {
gdb_exit;
gdb_start;
gdb_virtfunc_init;
- runto 'test_calls(void)';
+ runto 'test_calls';
}
#
@@ -892,7 +892,7 @@ proc do_tests {} {
test_ptype_of_classes
- if [ runto 'test_calls(void)' ] then {
+ if [ runto 'test_calls' ] then {
test_virtual_calls
}
}