Provide a Python example.

This commit is contained in:
Edd Barrett 2018-12-03 17:27:14 +00:00 committed by Who? Me?!
parent 2da7be9ca0
commit 0d5c72a88d
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,9 @@ a change) you can simply remove the timestamp file.
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
within gdb. Once invoked you can type some Python code (e.g.
`print("hi")`) followed by return and then `CTRL+D` to execute it.
If you are building gdb from source, you will need to configure with
`--with-python=<path-to-python-binary>`.
## Running a subset of the test suites