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' [includ


From: Stefan Monnier
Subject: Re: gdb emacs reporting 'Function "x_error_quitter" not defined' [includes PATCH]
Date: Fri, 28 Jan 2005 11:37:47 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> Stefan's Jan 27, 2005 xterm.c patch does not allow a breakpoint on
> x_error_quitter when compiled with gcc-3.4.2

> $  nm xterm.o | grep quitter
> 0000c530 t x_io_error_quitter

So, just putting the function definition after tyhe function call is not
enough to prevent inlining.  Too bad.

> whereas Gary Lawrence Murphy's patch 
> (http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-01/msg00425.html) 
> does:

> gcc-3.4.2:
> $ nm xterm.o | grep quitter
> 0000c900 T x_error_quitter
> 0000c5f0 t x_io_error_quitter

> gcc-3.3.2
> $ nm xterm.o | grep quitter
> 000095b0 T x_error_quitter
> 00009630 t x_io_error_quitter

Problem is, I don't understand how/why this patch makes any difference.
Can someone enlighten me?
BTW, whoever installs a patch that (tries to) fix this, please add a clear
comment describing all the things we've tried and why they failed.


        Stefan




reply via email to

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