From: Fernando Nasser Date: Thu, 9 Nov 2000 23:29:20 +0000 (+0000) Subject: 2000-11-09 Fernando Nasser X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e2e984e2cf6125ed6a4b2319829ee3fcf142b8;p=binutils-gdb.git 2000-11-09 Fernando Nasser * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh spelling "cancelled" to U.S. spelling "canceled" to match changes made to gdb. * gdb.c++/ovldbreak.exp: Ditto. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91f97eb84b6..7a0d322ae98 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2000-11-09 Fernando Nasser + + * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh + spelling "cancelled" to U.S. spelling "canceled" to match changes + made to gdb. + * gdb.c++/ovldbreak.exp: Ditto. + 2000-11-06 Peter Schauer * gdb.base/callfuncs.c (main): Moved to end of file, call diff --git a/gdb/testsuite/gdb.c++/ovldbreak.exp b/gdb/testsuite/gdb.c++/ovldbreak.exp index 2513b5fcb73..97271d31f70 100644 --- a/gdb/testsuite/gdb.c++/ovldbreak.exp +++ b/gdb/testsuite/gdb.c++/ovldbreak.exp @@ -456,16 +456,16 @@ gdb_expect { -re "\\\[0\\\] cancel\r\n\\\[1\\\] all\r\n\\\[2\\\] foo::overload1arg\\(double\\) at.*$srcfile:121\r\n\\\[3\\\] foo::overload1arg\\(float\\) at.*$srcfile:120\r\n\\\[4\\\] foo::overload1arg\\(unsigned long\\) at.*$srcfile:119\r\n\\\[5\\\] foo::overload1arg\\(long\\) at.*$srcfile:118\r\n\\\[6\\\] foo::overload1arg\\(unsigned int\\) at.*$srcfile:117\r\n\\\[7\\\] foo::overload1arg\\(int\\) at.*$srcfile:116\r\n\\\[8\\\] foo::overload1arg\\(unsigned short\\) at.*$srcfile:115\r\n\\\[9\\\] foo::overload1arg\\(short\\) at.*$srcfile:114\r\n\\\[10\\\] foo::overload1arg\\(unsigned char\\) at.*$srcfile:113\r\n\\\[11\\\] foo::overload1arg\\(signed char\\) at.*$srcfile:112\r\n\\\[12\\\] foo::overload1arg\\(char\\) at.*$srcfile:111\r\n\\\[13\\\] foo::overload1arg\\(void\\) at.*$srcfile:110\r\n> $" { send_gdb "0\n" gdb_expect { - -re "cancelled\r\n$gdb_prompt $" { - pass "set bp cancelled" } + -re "canceled\r\n$gdb_prompt $" { + pass "set bp canceled" } -re ".*$gdb_prompt $" { - fail "set bp cancelled wrong bp reply" } + fail "set bp canceled wrong bp reply" } timeout { - fail "(timeout)set bp cancelled wrong bp reply" } + fail "(timeout)set bp canceled wrong bp reply" } } } - -re ".*$gdb_prompt $" { fail "set bp cancelled(wrong menu)" } - timeout { fail "(timeout)set bp cancelled(wrong menu)" } + -re ".*$gdb_prompt $" { fail "set bp canceled(wrong menu)" } + timeout { fail "(timeout)set bp canceled(wrong menu)" } } diff --git a/gdb/testsuite/gdb.c++/templates.exp b/gdb/testsuite/gdb.c++/templates.exp index 91acc822250..d0ee96d075f 100644 --- a/gdb/testsuite/gdb.c++/templates.exp +++ b/gdb/testsuite/gdb.c++/templates.exp @@ -105,12 +105,12 @@ proc test_template_breakpoints {} { gdb_expect { -re "0. cancel.*\[\r\n\]*.1. all.*\[\r\n\]*.2. T5::T5\\(int\\) at .*\[\r\n\]*.3. T5::T5\\(T5 const &\\) at .*\[\r\n\]*> $" { gdb_test "0" \ - "cancelled" \ + "canceled" \ "constructor breakpoint (obsolete format!)" } -re ".0. cancel\[\r\n\]*.1. all\[\r\n\]*.2. T5::T5\\(T5 const &\\) at .*templates.cc:.*\[\r\n\]*.3. T5::T5\\(int\\) at .*templates.cc:.*\[\r\n\]*> $" { gdb_test "0" \ - "cancelled" \ + "canceled" \ "constructor breakpoint" } -re ".*$gdb_prompt $" { fail "constructor breakpoint" }