From: Florian Bruhin Date: Thu, 23 Apr 2020 15:53:23 +0000 (+0200) Subject: [3.7] gdbinit: Use proper define syntax (GH-19557) (GH-19678) X-Git-Tag: v3.7.8rc1~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1072d60dbbbfdb41000880da912760c8b60b1f4;p=thirdparty%2FPython%2Fcpython.git [3.7] gdbinit: Use proper define syntax (GH-19557) (GH-19678) 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 bb10bdba799a..a21b28e17617 100644 --- a/Misc/gdbinit +++ b/Misc/gdbinit @@ -149,7 +149,7 @@ define pystackv end # generally useful macro to print a Unicode string -def pu +define pu set $uni = $arg0 set $i = 0 while (*$uni && $i++<100)