Commit 5d303091 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Minor fix in .gdbinit

* src/.gdbinit (xprintsym): Don't attempt to print the
symbol's name if it is not yet set.  This happens with
built-in symbols at the beginning of 'main'.
parent a90ad229
Pipeline #1553 failed with stage
in 55 minutes and 13 seconds
......@@ -1059,8 +1059,10 @@ end
define xprintsym
xsymname $arg0
xgetptr $symname
set $sym_name = (struct Lisp_String *) $ptr
xprintstr $sym_name
if $ptr != 0
set $sym_name = (struct Lisp_String *) $ptr
xprintstr $sym_name
document xprintsym
Print argument as a symbol.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment