diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2019-09-09 09:56:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 09:56:38 (GMT) |
commit | 14f7de72b62ec8e73a8a57b25ad8fef230dc6a3c (patch) | |
tree | 6d1bf8e6e7ed4f8e310987069e1e7ffaaff80f66 /PC | |
parent | e103732f5df13a97f610a8b80883895f7a273573 (diff) | |
download | cpython-14f7de72b62ec8e73a8a57b25ad8fef230dc6a3c.zip cpython-14f7de72b62ec8e73a8a57b25ad8fef230dc6a3c.tar.gz cpython-14f7de72b62ec8e73a8a57b25ad8fef230dc6a3c.tar.bz2 |
[3.8] bpo-15817: gdbinit: Document commands after defining them (GH-15021) (#15744)
The gdb manual[1] says the following for "document":
The command commandname must already be defined.
[1] https://sourceware.org/gdb/current/onlinedocs/gdb/Define.html
And indeed when trying to use the gdbinit file with gdb 8.3, I get:
.../cpython/Misc/gdbinit:17: Error in sourced command file:
Undefined command: "pyo". Try "help".
Fix this by moving all documentation blocks after the define blocks.
This was introduced in GH-6384.
(cherry picked from commit 1f86fdcfc57270ee569cc58269a4e08afe7608ec)
Authored-by: Florian Bruhin <me@the-compiler.org>
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions