[Top][All Lists]
[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: |
Sat, 22 Jan 2005 18:54:57 -0500 |
Do we really want to prevent x_error_quitter from being
optimized/inlined?
Sure. There is no benefit at all in inlining a function that
is used so rarely.
If we don't want to prevent the optimzations, but just to be able to
put a breakpoint there, we could put the breakpoint on the line that
invokes x_error_quitter.
That would be hard to maintain, since we'd have to specify a line
number and that number would change.
I think making the function not static should prevent it from
being optimized away. However, we also need to prevent it
from being inlined. In the current version of GCC, putting
it after its caller should do that.
For the long term, there is probably some sort of attribute that can
be put on the function to prevent inlining, but I see I don't have GCC
manual on my laptop. Can someone look this up?
- gdb emacs reporting 'Function "x_error_quitter" not defined', Andrew M. Scott~, 2005/01/17
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Andrew M. Scott, 2005/01/21
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Nick Roberts, 2005/01/21
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Stefan Monnier, 2005/01/21
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Nick Roberts, 2005/01/21
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Eli Zaretskii, 2005/01/22
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Stefan Monnier, 2005/01/22
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Richard Stallman, 2005/01/23
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Stefan Monnier, 2005/01/24
- Re: gdb emacs reporting 'Function "x_error_quitter" not defined', Eli Zaretskii, 2005/01/24