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
This commit is contained in:
Florian Bruhin 2020-04-23 14:49:26 +02:00 committed by GitHub
parent 8d1cbfffea
commit 1221135289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ document pystackv
Print the entire Python call stack - verbose mode Print the entire Python call stack - verbose mode
end end
def pu define pu
set $uni = $arg0 set $uni = $arg0
set $i = 0 set $i = 0
while (*$uni && $i++<100) while (*$uni && $i++<100)