bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs doesn't compile (again)


From: Marcus Brinkmann
Subject: Re: emacs doesn't compile (again)
Date: Wed, 20 Jun 2001 00:47:45 +0200
User-agent: Mutt/1.2i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]