gdb.ada/info_exc.exp,mi_exc_info.exp: handle runtimes with full debug info.
authorJoel Brobecker <brobecker@adacore.com>
Fri, 15 Nov 2013 16:34:09 +0000 (20:34 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 15 Nov 2013 16:41:06 +0000 (20:41 +0400)
commit391d3400084c6a2d805cd0efd925f29347fa7a18
tree40e49500f39cd25592686bfc83392d6dac0be3e8
parent19a1b230f33dbcfa54cd1a9f88c2d5158f833f6f
gdb.ada/info_exc.exp,mi_exc_info.exp: handle runtimes with full debug info.

If the runtime has full debug info, then the non-standard exceptions
declared in the GNAT runtime will appear in the list of exceptions
printed by GDB ("info exceptions" or "-info-ada-exceptions").
This is valid output, so this patch allows for it.

gdb/testsuite/ChangeLog:

        * gdb.ada/info_exc.exp: Allow other global exceptions to be
        listed in the output of "info exceptions".
        * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
        listed in the output of "-info-ada-exceptions".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/info_exc.exp
gdb/testsuite/gdb.ada/mi_exc_info.exp