diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91287e3..e3376d1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-11-02 Tom Tromey <tromey@redhat.com> + + * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion + test. + 2012-11-02 Pedro Alves <palves@redhat.com> PR gdb/14766 diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 9054cfe..8aa81e0 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -288,6 +288,11 @@ proc do_syscall_tests {} { set thistest "catch syscall to a nonsense syscall is prohibited" gdb_test "catch syscall nonsense_syscall" "Unknown syscall name .*" $thistest + # Regression test for syscall completer bug. + gdb_test "complete catch syscall close chroo" \ + "catch syscall close chroot" \ + "complete catch syscall with multiple words" + # Testing the 'catch syscall' command without arguments. # This test should catch any syscalls. if [runto_main] then { test_catch_syscall_without_args } |