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

View file

@ -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)