From 5857556500e5bc382c5e1743abeff5d2a7f15ce4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 16 Apr 2020 23:26:24 +0200 Subject: [PATCH] gdbinit: Use proper define syntax Using `def` rather than `define` results in: Ambiguous command "def pu": define, define-prefix. --- Misc/gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/gdbinit b/Misc/gdbinit index 45e79fcf6f4682..e8f62ba6476423 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)