diff options
author | Tom de Vries <tdevries@suse.de> | 2024-10-25 06:14:03 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-10-25 06:14:03 +0200 |
commit | c33568d2c108478c25fe9959b5ce9d25b97efa6c (patch) | |
tree | f1d6d66b7b0123fe6421e66b0fa7c9d7c80f1ae0 /gdb/testsuite | |
parent | 5c15d620746a971c6a0903579724bf2b8169a760 (diff) | |
download | gdb-c33568d2c108478c25fe9959b5ce9d25b97efa6c.zip gdb-c33568d2c108478c25fe9959b5ce9d25b97efa6c.tar.gz gdb-c33568d2c108478c25fe9959b5ce9d25b97efa6c.tar.bz2 |
[gdb/testsuite] Fix gdb.cp/exceptprint.exp with check-read1
Fix test-case gdb.cp/exceptprint.exp with make target check-read1 by limiting
the output of skip_libstdcxx_probe_tests_prompt by making the used command
more precise: using "info probes stap libstdcxx" instead of "info probes".
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index a3aaa5c..a438a10 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -5066,7 +5066,8 @@ proc skip_unwinder_tests {} { proc skip_libstdcxx_probe_tests_prompt { prompt_regexp } { set supported 0 - gdb_test_multiple "info probe" "check for stap probe in libstdc++" \ + gdb_test_multiple "info probes stap libstdcxx" \ + "check for stap probe in libstdc++" \ -prompt "$prompt_regexp" { -re ".*libstdcxx.*catch.*\r\n$prompt_regexp" { set supported 1 |