Explain how to check if gdb supports Python.

This commit is contained in:
Edd Barrett 2018-12-03 15:46:55 +00:00 committed by Who? Me?!
parent 15d8147eb2
commit 2da7be9ca0
1 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ timestamp file for every test can be found under `build/ARCH/test/`.
To force-rerun a test (e.g. in case the test runner fails to notice
a change) you can simply remove the timestamp file.
Note that some tests require a Python-enabled gdb. If you are building
gdb from source, you need to configure with
Note that some tests require a Python-enabled gdb. You can test if
your gdb install supports Python by using the `python` command from
within gdb (type some Python code followed by `CTRL+D` to execute it).
If you are building gdb from source, you need to configure with
`--with-python=<path-to-python-binary>`.
## Running a subset of the test suites