[Python-checkins] gdbinit: Use proper define syntax (GH-19557)
Florian Bruhin
webhook-mailer at python.org
Thu Apr 23 08:49:33 EDT 2020
https://github.com/python/cpython/commit/1221135289306333d11db25ab20cbbd21ceec630
commit: 1221135289306333d11db25ab20cbbd21ceec630
branch: master
author: Florian Bruhin <me at the-compiler.org>
committer: GitHub <noreply at github.com>
date: 2020-04-23T05:49:26-07:00
summary:
gdbinit: Use proper define syntax (GH-19557)
Using `def` rather than `define` results in:
Ambiguous command "def pu": define, define-prefix.
Automerge-Triggered-By: @csabella
files:
M Misc/gdbinit
diff --git a/Misc/gdbinit b/Misc/gdbinit
index 45e79fcf6f468..e8f62ba647642 100644
--- a/Misc/gdbinit
+++ b/Misc/gdbinit
@@ -160,7 +160,7 @@ document pystackv
Print the entire Python call stack - verbose mode
end
-def pu
+define pu
set $uni = $arg0
set $i = 0
while (*$uni && $i++<100)
More information about the Python-checkins
mailing list