Add completion for Ada catch commands
authorTom Tromey <tromey@adacore.com>
Fri, 3 May 2019 23:03:40 +0000 (17:03 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 15:57:42 +0000 (09:57 -0600)
commit71bed2dba6c0706633ead4994cc89e063abf28ea
tree12f71d62fde277264cba623d07ca398ff241b236
parentb8e07335d04f8c8e611a65905598915f68b0b707
Add completion for Ada catch commands

This patch adds a completion function to the "catch exception"
and "catch handlers" commands.

Tested on x86-64 Fedora 29; reviewed off-list by Joel.

gdb/ChangeLog
2019-05-10  Tom Tromey  <tromey@adacore.com>

* ada-lang.c (catch_ada_completer): New function.
(_initialize_ada_language): Use it.

gdb/testsuite/ChangeLog
2019-05-10  Tom Tromey  <tromey@adacore.com>

* gdb.ada/info_exc.exp: Add "complete" test.
gdb/ChangeLog
gdb/ada-lang.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/info_exc.exp