From 17c579bd622026e9c05a0b8893e10a26470c3569 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 7 Jun 2000 04:14:02 +0000 Subject: [PATCH] Use ``set remote memory-read-packet-size'' instead of ``set endian big'' in deprecate test. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/commands.exp | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a4e8bb9..471a9de 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 7 13:02:40 2000 Andrew Cagney + + * gdb.base/commands.exp: Use ``set remote + memory-read-packet-size'' instead of ``set endian big'' to test + long commands. + 2000-06-03 Daniel Berlin * gdb.c++/templates.exp (do_tests): Make all of these work under diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp index f25f32f..a9d608a 100644 --- a/gdb/testsuite/gdb.base/commands.exp +++ b/gdb/testsuite/gdb.base/commands.exp @@ -391,11 +391,11 @@ proc deprecated_command_test {} { gdb_test "p 5" "Warning: command 'print' \\(p\\) is deprecated.*Use 'new_print'.*" "both alias and command are deprecated" gdb_test "p 5" ".\[0-9\]* = 5.*" "Deprecated warning goes away" - gdb_test "maintenance deprecate set endian big \"seb\" " "" "deprecate long comamnd" - gdb_test "set endian big" "Warning: command 'set endian big' is deprecated.*Use 'seb'.*" "long command deprecated" + gdb_test "maintenance deprecate set remote memory-read-packet-size \"srm\" " "" "deprecate long comamnd" + gdb_test "set remote memory-read-packet-size" "Warning: command 'set remote memory-read-packet-size' is deprecated.*Use 'srm'.*" "long command deprecated" - gdb_test "maintenance deprecate set endian big" "" "deprecate long comamnd" - gdb_test "set endian big" "Warning: command 'set endian big' is deprecated.*No alternative known.*" "long command deprecated with no alternative." + gdb_test "maintenance deprecate set remote memory-read-packet-size" "" "deprecate long comamnd" + gdb_test "set remote memory-read-packet-size" "Warning: command 'set remote memory-read-packet-size' is deprecated.*No alternative known.*" "long command deprecated with no alternative." gdb_test "maintenance deprecate" "\"maintenance deprecate\".*" "deprecate with no arguments" } -- 2.7.4