]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gdbinit: Use proper define syntax (GH-19557)
authorFlorian Bruhin <me@the-compiler.org>
Thu, 23 Apr 2020 12:49:26 +0000 (14:49 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2020 12:49:26 +0000 (05:49 -0700)
Using `def` rather than `define` results in:

    Ambiguous command "def pu": define, define-prefix.

Automerge-Triggered-By: @csabella
Misc/gdbinit

index 45e79fcf6f4682d1445be4f5a4a92da4ef3cddf9..e8f62ba64764236ee5e69af100dd7bb32e6c3bb0 100644 (file)
@@ -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)