Commit 8654a41b authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix pgx in .gdbinit when CHECK_LISP_OBJECT_TYPE is defined.

 src/.gdbinit (pgx): If the glyph's object is a string, display the
 pointer to string data, rather than the value of the string object
 itself (which barfs under CHECK_LISP_OBJECT_TYPE).
parent cc4c01bd
......@@ -495,7 +495,8 @@ define pgx
end
xgettype ($g.object)
if ($type == Lisp_String)
printf " str=%x[%d]", $g.object, $g.charpos
xgetptr $g.object
printf " str=0x%x[%d]", ((struct Lisp_String *)$ptr)->data, $g.charpos
else
printf " pos=%d", $g.charpos
end
......
2012-11-23 Eli Zaretskii <eliz@gnu.org>
* .gdbinit (pgx): If the glyph's object is a string, display the
pointer to string data, rather than the value of the string object
itself (which barfs under CHECK_LISP_OBJECT_TYPE).
2012-11-21 Eli Zaretskii <eliz@gnu.org>
 
* indent.c (Fvertical_motion): If the starting position is covered
......
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