Skip to content

Commit

Permalink
gdbinit: Use proper define syntax (GH-19557)
Browse files Browse the repository at this point in the history
Using `def` rather than `define` results in:

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

Automerge-Triggered-By: @csabella
(cherry picked from commit 1221135)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
  • Loading branch information
miss-islington and The-Compiler committed Apr 23, 2020
1 parent 22a4849 commit 714aa83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Misc/gdbinit
Expand Up @@ -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)
Expand Down

0 comments on commit 714aa83

Please sign in to comment.