catch_command_errors: Remove 'mask' parameter
authorPedro Alves <palves@redhat.com>
Mon, 9 Feb 2015 14:59:10 +0000 (14:59 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Feb 2015 17:42:21 +0000 (17:42 +0000)
commit97c185659a35d249aa20c89674e3da2baf4b4352
tree560dc380dc604347d2a9c636acae03d187249202
parenta37bfa30016370992c59105fb4fd97cd3a264149
catch_command_errors: Remove 'mask' parameter

All callers of catch_command_errors pass RETURN_MASK_ALL as mask
argument.  This patch eliminates the mask parameter as unnecessary.

gdb/ChangeLog:
2015-02-27  Pedro Alves  <palves@redhat.com>

* main.c (catch_command_errors, catch_command_errors_const):
Remove 'mask' argument.  Adjust.
(captured_main): Adjust callers.

gdb/testsuite/ChangeLog:
2015-02-27  Pedro Alves  <palves@redhat.com>

* gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
call to catch_command_errors.
* gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
catch_command_errors.
gdb/ChangeLog
gdb/main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/python-interrupts.exp
gdb/testsuite/gdb.gdb/python-selftest.exp