emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: gdb emacs reporting 'Function "x_error_quitter" not defined'


From: Eli Zaretskii
Subject: Re: gdb emacs reporting 'Function "x_error_quitter" not defined'
Date: Wed, 26 Jan 2005 06:48:13 +0200

> From: Richard Stallman <address@hidden>
> CC: address@hidden, address@hidden,
>       address@hidden
> Date: Tue, 25 Jan 2005 19:03:00 -0500
> 
> But it occurs to me that anyone building Emacs from CVS sources
> probably wants to do debugging.  I normally compile Emacs with -O0
> and -fno-line just so that I can debug it more effectively.
> Perhaps we should arrange that building Emacs from the CVS sources
> does that by default.

I think that is not a good idea.  Compiling with -O2 and with -O0
produces two very different programs, so doing that by default with
CVS sources means that we lose a lot of testing potential, as users of
the CVS version will be running a program that is utterly different
from what users of the released Emacs will see.  I expect quite a few
bugs to remain unearthed until the pretest stage.

I think the GCC feature whereby you can debug an optimized program is
a great benefit, since it lets you debug and test a program only once,
instead of doing that twice.  I'd hate to fail to use that with Emacs.




reply via email to

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