diff options
author | Tom de Vries <tdevries@suse.de> | 2019-07-25 18:39:31 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-07-25 18:39:31 +0200 |
commit | 297989a10c56aec56eab0ee63f1e61c33ab20905 (patch) | |
tree | 82047b95990091c11544c76018648d88cd576258 /gdb/python/py-objfile.c | |
parent | d079b9c04afb48ecba42c42632c34974f5a32ce8 (diff) | |
download | binutils-297989a10c56aec56eab0ee63f1e61c33ab20905.zip binutils-297989a10c56aec56eab0ee63f1e61c33ab20905.tar.gz binutils-297989a10c56aec56eab0ee63f1e61c33ab20905.tar.bz2 |
[gdb/testsuite] Test skip_libstdcxx_probe_tests in mi-catch-cpp-exceptions.exp
On a system without SDT probes in libstdc++, we run into:
...
FAIL: gdb.mi/mi-catch-cpp-exceptions.exp: all with invalid regexp: run until \
breakpoint in main (unknown output after running)
...
The test-case uses a regexp argument for the catch throw/rethrow/catch
command, which is only supported on systems with SDT probes in libstdc++.
Fix this by marking the portions of the test-case that use a regexp argument
as unsupported on a system without SDT probes.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2019-07-25 Tom de Vries <tdevries@suse.de>
PR testsuite/24830
* gdb.mi/mi-catch-cpp-exceptions.exp: Call
mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
* lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
(skip_libstdcxx_probe_tests): ... here.
* lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
Diffstat (limited to 'gdb/python/py-objfile.c')
0 files changed, 0 insertions, 0 deletions