How do you debug a TTY-based XEmacs? I just tried it like this:
- Run an X-Windows based XEmacs (xemacs #1)
- Run a TTY based XEmacs (xemacs #2)
- Run gdb inside XEmacs #1
- Attach to XEmacs #2
But when I want to examine a Lisp object using the ldp command defined
in src/.gdbinit, it prints on top of the TTY (xemacs #2), instead of
inside the GDB window in xemacs #1. This is because ldp is defined like
this:
printf "%s", "Lisp => "
call debug_print($arg0)
(In fact, the "Lisp => " prompt is printed in xemacs #1, and the rest is
printed in xemacs #2.) Is there any way around this? How do the rest
of you handle this kind of situation?
--
Jerry James
http://www.ittc.ku.edu/~james/