From 62bb4c5ccd1e8e0e816c67286b53fdeceda0de76 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 23 Apr 2020 14:49:26 +0200 Subject: [PATCH] [3.7] 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 --- Misc/gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/gdbinit b/Misc/gdbinit index bb10bdba799aa6..a21b28e176170a 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)