* lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / page.exp
index 7d4150a5a847cf1028ab2caf193115548ee53d15..e70f8eff32ff9656f4914aea8375d7abc4adb1d1 100644 (file)
@@ -25,8 +25,7 @@ gdb_start
 
 gdb_test_no_output "set pagination off"
 gdb_test "show pagination" "State of pagination is off.*" "pagination is off"
-send_gdb "help\n"
-gdb_expect_list "unpaged help" ".*$gdb_prompt $" {
+gdb_test_sequence "help" "unpaged help" {
     "List of classes of commands:"
     ""
     "aliases -- Aliases of other commands"
This page took 0.023431 seconds and 4 git commands to generate.