lib/gdb.exp: New gdb_test_no_output function.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 20 May 2010 19:18:58 +0000 (19:18 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 20 May 2010 19:18:58 +0000 (19:18 +0000)
commita7b75dfda10bf308d3403f344186fc6fbbaa5631
treeb0d316924ccd5fff2d74c0242518f92daad566a5
parent8148cf8d75e7d4f891976b3a6a85a7203f8c65b2
lib/gdb.exp: New gdb_test_no_output function.

This new testsuite routine allows us to test commands that are not
expected to generate any output.

2010-05-20  Pedro Alves  <pedro@codesourcery.com>
            Joel Brobecker  <brobecker@adacore.com>

        * lib/gdb.exp (gdb_test_no_output): New function.
        * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
        when testing commands that should produce no output.

Tested on x86_64-linux.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/arrayidx.exp
gdb/testsuite/lib/gdb.exp