summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-04-23 12:55:29 (GMT)
committerGitHub <noreply@github.com>2020-04-23 12:55:29 (GMT)
commit714aa832a599a04cb37667d89cb48459661ae6da (patch)
tree7a8a1cf76c924dd71ca8ce21b889ebea3235d16c
parent22a4849cd8356de0f6ed8586ed8aac7ad1f3df6c (diff)
downloadcpython-714aa832a599a04cb37667d89cb48459661ae6da.zip
cpython-714aa832a599a04cb37667d89cb48459661ae6da.tar.gz
cpython-714aa832a599a04cb37667d89cb48459661ae6da.tar.bz2
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 (cherry picked from commit 1221135289306333d11db25ab20cbbd21ceec630) Co-authored-by: Florian Bruhin <me@the-compiler.org>
-rw-r--r--Misc/gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/gdbinit b/Misc/gdbinit
index 45e79fc..e8f62ba 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)