aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-missing-debug.py
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-06-16 15:32:59 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2025-06-26 14:08:31 -0400
commitf9fca5aa58340fe3cedb3fdb742030690403a518 (patch)
tree5ba97a08a4df047d126360ed808de393c6522d4b /gdb/testsuite/gdb.python/py-missing-debug.py
parent221efb6f54a8568d39be370901821d855aba2e83 (diff)
downloadbinutils-f9fca5aa58340fe3cedb3fdb742030690403a518.zip
binutils-f9fca5aa58340fe3cedb3fdb742030690403a518.tar.gz
binutils-f9fca5aa58340fe3cedb3fdb742030690403a518.tar.bz2
gdb/testsuite: check that "info shared" and "info linker-namespaces" before running don't crash
While writing my solib_ops C++ification series, I broke this, and it didn't seem to be caught by the testsuite. Add a test for those. The exact message for "info linker-namespaces" varies depending on the solib_ops of the target architecture (whether ops->num_active_namespaces is nullptr or not). For now, just accept any message (a crash will still be caught). A later patch in this series will make the message consistent and update this test. Change-Id: I6bce2ff317447bbf321fc9cbd2d42c3dcea0c683 Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-missing-debug.py')
0 files changed, 0 insertions, 0 deletions