about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2018-12-03 17:27:14 +0000
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-12-03 12:07:30 -0600
commitf51e93a653a5db71d2bbd9260dd6f40bfc467a9d (patch)
tree0fb0e7887c3ba273ffdbc9932c76d0e3ea32f1d7 /src/doc/rustc-dev-guide
parentc8aeda614656c0b8ee1132edf4f40d6c03599c29 (diff)
downloadrust-f51e93a653a5db71d2bbd9260dd6f40bfc467a9d.tar.gz
rust-f51e93a653a5db71d2bbd9260dd6f40bfc467a9d.zip
Provide a Python example.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/running.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/running.md b/src/doc/rustc-dev-guide/src/tests/running.md
index 62f3ea4d7ea..1250fa77b7a 100644
--- a/src/doc/rustc-dev-guide/src/tests/running.md
+++ b/src/doc/rustc-dev-guide/src/tests/running.md
@@ -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