More fixes in .gdbinit.

This commit is contained in:
Eli Zaretskii 2012-08-01 19:31:59 +03:00
parent 288479f65c
commit 75e3caf91e

View file

@ -1218,7 +1218,7 @@ xgetptr globals.f_Vsystem_type
# $ptr is NULL in temacs
if ($ptr != 0)
set $tem = (struct Lisp_Symbol *) $ptr
xgetptr $tem->xname
xgetptr $tem->xname_
set $tem = (struct Lisp_String *) $ptr
set $tem = (char *) $tem->data
@ -1241,7 +1241,7 @@ commands
silent
xgetptr globals.f_Vinitial_window_system
set $tem = (struct Lisp_Symbol *) $ptr
xgetptr $tem->xname
xgetptr $tem->xname_
set $tem = (struct Lisp_String *) $ptr
set $tem = (char *) $tem->data
# If we are running in synchronous mode, we want a chance to look