On Tue, Jun 19, 2001 at 06:34:23PM -0400, Roland McGrath wrote:
> Is this a dumped executable (from unexec)?  
> Figure out where real_morecore gets initialized.

Yes. I deleted emacs and just typed "make" to see how it is build, and
it is a dumped one, but now the behaviour is different, so I am restrating the
built.

It seems that real_morecore is initialized to __morecore in two places:
ralloc.c:r_alloc_init (and after initialization, __morecore is set to
r_alloc_sbrk).

And in ralloc.c:r_alloc_reinit, but only for DOUG_LEA_MALLOC (and if emacs is
defined), and only if __morecore is not r_alloc_sbrk.

I think this r_alloc_sbrk is just to aviod an infinite loop if emacs is
linked statically (judging the comment).  So what I want to do as soon as
I have rebuild emacs from scratch to reproduce the original behaviour (doh!)
I will set a breakpoint on those init functions and see what happens.

Marcus


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to