From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 23 Apr 2020 12:55:29 +0000 (-0700) Subject: gdbinit: Use proper define syntax (GH-19557) X-Git-Tag: v3.8.3rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714aa832a599a04cb37667d89cb48459661ae6da;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Misc/gdbinit b/Misc/gdbinit index 45e79fcf6f46..e8f62ba64764 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)