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: Richard Stallman
Subject: Re: gdb emacs reporting 'Function "x_error_quitter" not defined'
Date: Tue, 25 Jan 2005 19:03:00 -0500

    In any case, the problem with setting a breakpoint on x_error_quitter is
    really a problem of gdb (maybe due to a problem in gcc):
    Setting a breakpoint on a function (or a line number) should put the
    breakpoint at all the places where the code was inlined.

In some theoretical sense, I agree it would be nice.  In fact, we do
not aim to make the compiler and debugger pretend the code was not
optimized.  We need to solve this problem in Emacs.

I installed a change that should fix it, until GCC gets smarter.

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.




reply via email to

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