aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/printcmds.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-04 15:18:21 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-04 15:18:21 +0000
commitb9c07f0f780871624cd4556936f931cdaea26995 (patch)
treef1dd6a43108fd07a6eb1a0e183a95144aad983dd /gdb/testsuite/gdb.base/printcmds.exp
parentbf0c5130d28f010c62fcec83cc8775ebc321f19e (diff)
downloadgdb-b9c07f0f780871624cd4556936f931cdaea26995.zip
gdb-b9c07f0f780871624cd4556936f931cdaea26995.tar.gz
gdb-b9c07f0f780871624cd4556936f931cdaea26995.tar.bz2
* gdb.base/default.exp: Remove obsolete code.
* gdb.c++/misc.exp: Ditto. Update copyright. * gdb.c++/cplusfuncs.exp: Ditto. Update copyright. * gdb.base/whatis.exp: Ditto. Update copyright. * gdb.base/scope.exp: Ditto. Update copyright. * gdb.base/ptype.exp: Ditto. Update copyright. * gdb.base/printcmds.exp: Ditto. Update copyright. * gdb.base/opaque.exp: Ditto. Update copyright. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. Update copyright. * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete. * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete. * gdb.hp/gdb.threads-hp/usrthcore.c: Delete. * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete. * gdb.hp/gdb.threads-hp/usrthfork.c: Delete. * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
Diffstat (limited to 'gdb/testsuite/gdb.base/printcmds.exp')
-rw-r--r--gdb/testsuite/gdb.base/printcmds.exp19
1 files changed, 2 insertions, 17 deletions
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp
index 279816a..6c4213e 100644
--- a/gdb/testsuite/gdb.base/printcmds.exp
+++ b/gdb/testsuite/gdb.base/printcmds.exp
@@ -1,5 +1,5 @@
-# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000
-# Free Software Foundation, Inc.
+# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002 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
@@ -619,25 +619,16 @@ proc test_print_string_constants {} {
# (Test may involve inferior malloc() calls).
set timeout 60;
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"a string\"" " = \"a string\""
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"embedded \\000 null\"" " = \"embedded \\\\0 null\""
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p \"abcd\"\[2\]" " = 99 'c'"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p sizeof (\"abcdef\")" " = 7"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "ptype \"foo\"" " = char \\\[4\\\]"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p *\"foo\"" " = 102 'f'"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "ptype *\"foo\"" " = char"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p &*\"foo\"" " = \"foo\""
setup_xfail "*-*-*"
gdb_test "ptype &*\"foo\"" "type = char \\*"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "p (char *)\"foo\"" " = \"foo\""
}
@@ -653,17 +644,11 @@ proc test_print_array_constants {} {
# (Test may involve inferior malloc() calls).
set timeout 60;
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print {'a','b','c'}" " = \"abc\""
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {0,1,2}" " = {0, 1, 2}"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {(long)0,(long)1,(long)2}" " = {0, 1, 2}"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test_escape_braces "print {{0,1,2},{3,4,5}}" " = {{0, 1, 2}, {3, 4, 5}}"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print {4,5,6}\[2\]" " = 6"
- # OBSOLETE setup_xfail "a29k-*-udi" 2416
gdb_test "print *&{4,5,6}\[1\]" " = 5"
}