aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/printcmds.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-26 17:23:23 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-26 17:23:23 +0000
commit0dcd613f587725b5458606ad4c04270ce624f099 (patch)
treeb9b5e0ed89071092932d244a9cb1786c75e75f51 /gdb/testsuite/gdb.base/printcmds.exp
parent6a5709a5a18aabe5b4f7f14ddfd758af3eaa9a31 (diff)
downloadgdb-0dcd613f587725b5458606ad4c04270ce624f099.zip
gdb-0dcd613f587725b5458606ad4c04270ce624f099.tar.gz
gdb-0dcd613f587725b5458606ad4c04270ce624f099.tar.bz2
Index: ChangeLog
2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * charset.c (backslashable, backslashed, represented): Remove 'e' from list of escaped characters, not part of ISO-C. Index: charset.c Index: testsuite/ChangeLog 2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * gdb.base/charset.c: Update copyright notice. (main, init_string): Remove the escape character '\e' tests. * gdb.base/printcmds.exp (test_print_all_chars): Ditto. * gdb.base/charset.exp (valid_host_charset): Ditto. * gdb.base/setvar.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/printcmds.exp')
-rw-r--r--gdb/testsuite/gdb.base/printcmds.exp12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp
index 8f3ba89..e532d71 100644
--- a/gdb/testsuite/gdb.base/printcmds.exp
+++ b/gdb/testsuite/gdb.base/printcmds.exp
@@ -1,5 +1,7 @@
-# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002, 2003 Free
-# Software Foundation, Inc.
+# This testcase is part of GDB, the GNU debugger.
+
+# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002, 2003, 2004
+# 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
@@ -16,7 +18,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
-# bug-gdb@prep.ai.mit.edu
+# bug-gdb@gnu.org
# This file was written by Fred Fish. (fnf@cygnus.com)
@@ -161,7 +163,7 @@ proc test_print_all_chars {} {
gdb_test "p ctable1\[24\]" " = 24 '\\\\030'"
gdb_test "p ctable1\[25\]" " = 25 '\\\\031'"
gdb_test "p ctable1\[26\]" " = 26 '\\\\032'"
- gdb_test "p ctable1\[27\]" " = 27 '\\\\e'"
+ gdb_test "p ctable1\[27\]" " = 27 '\\\\033'"
gdb_test "p ctable1\[28\]" " = 28 '\\\\034'"
gdb_test "p ctable1\[29\]" " = 29 '\\\\035'"
gdb_test "p ctable1\[30\]" " = 30 '\\\\036'"
@@ -479,7 +481,7 @@ proc test_print_strings {} {
gdb_test "p &ctable1\[2*8\]" \
" = \\(unsigned char \\*\\) \"\\\\020\\\\021\\\\022\\\\023\\\\024\\\\025\\\\026\\\\027\"..."
gdb_test "p &ctable1\[3*8\]" \
- " = \\(unsigned char \\*\\) \"\\\\030\\\\031\\\\032\\\\e\\\\034\\\\035\\\\036\\\\037\"..."
+ " = \\(unsigned char \\*\\) \"\\\\030\\\\031\\\\032\\\\033\\\\034\\\\035\\\\036\\\\037\"..."
gdb_test "p &ctable1\[4*8\]" \
" = \\(unsigned char \\*\\) \" !\\\\\"#\\\$%&'\"..."
gdb_test "p &ctable1\[5*8\]" \