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: Andrew M. Scott
Subject: Re: gdb emacs reporting 'Function "x_error_quitter" not defined'
Date: Fri, 21 Jan 2005 08:50:59 -0700

>>>>> "Nick" == Nick Roberts <address@hidden> writes:

    >> DISPLAY = chlr4917:2.0
    >> TERM = dumb
    >> Breakpoint 1 at 0x80e7126
    >> Function "x_error_quitter" not defined.
    >> (gdb)
    >> 
    >> This would seem to be probably a GDB bug. Can you report it
    >> to address@hidden

    Nick> Or, more likely, its a compiler problem. If the executable doesn't 
have the
    Nick> symbol x_error_quitter, GDB can't be expected to find it.

    Nick> What happens if you do (in build/src):

    Nick> nm emacs | grep x_error_quitter

    Nick> you should get something like:

    Nick> 080e6b6c t x_error_quitter

    Nick> If you get nothing perhaps the local symbols are missing 
(x_error_quitter is
    Nick> local to xterm.c).

Thanks, Richard & Nick.

$ cd build/src
$ nm emacs | grep x_error_quitter
Exit 1

$ nm emacs | grep quitter
080ca2a0 t x_io_error_quitter

$ nm xterm.o | grep quitter
0000cdc0 t x_io_error_quitter

This seems to indicate that it's a compilation problem, not GDB.

I don't understand how xterm.o can have x_io_error_quitter but *not*
x_error_quitter

I'm using gcc 3.4.2

$ gcc --version
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.








reply via email to

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