On Mon, Sep 12, 2005 at 05:27:42PM +0200, clemens(a)ghanima.endorphin.org wrote:
Still, not having any pdump_root_lisp_objects is clearly a bug.
No, it isn't. Dumping is currently designed to work only from a
non-preloaded xemacs (traditionally called temacs). Makeing it work
from a preloaded xemacs may be doable, but definitively non-trivial.
There is a number of structures (buffers, devices...) I don't think
we're able to dump into the image.
Naive approach: Is it feasable to use the root list as it was at the
time the original dump was made, or do we have to reinitialize it?
The dump_add_root_lisp_object calls are inside the init_* calls (which
are called by temacs only) and not inside the reinit_* calls (which
are called by both temacs and xemacs). You can move them to reinit
and you should get an identical root list as there was at dump time.
I suspect you're going to hit the pdump_unsupported_dump_type function
very quickly though.
OG.