Mercurial > emacs
comparison src/xterm.c @ 110735:4dfed46bce9a
* configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
* src/xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 03 Oct 2010 08:39:21 -0700 |
parents | e71c4e4a16d7 |
children | d19381a918e1 |
comparison
equal
deleted
inserted
replaced
110734:72f46bad930c | 110735:4dfed46bce9a |
---|---|
7726 /* This is the usual handler for X protocol errors. | 7726 /* This is the usual handler for X protocol errors. |
7727 It kills all frames on the display that we got the error for. | 7727 It kills all frames on the display that we got the error for. |
7728 If that was the only one, it prints an error message and kills Emacs. */ | 7728 If that was the only one, it prints an error message and kills Emacs. */ |
7729 | 7729 |
7730 /* .gdbinit puts a breakpoint here, so make sure it is not inlined. */ | 7730 /* .gdbinit puts a breakpoint here, so make sure it is not inlined. */ |
7731 | |
7732 #if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */ | |
7733 #define NO_INLINE __attribute__((noinline)) | |
7734 #else | |
7735 #define NO_INLINE | |
7736 #endif | |
7737 | |
7738 /* Some versions of GNU/Linux define noinline in their headers. */ | |
7739 | |
7740 #ifdef noinline | |
7741 #undef noinline | |
7742 #endif | |
7743 | 7731 |
7744 /* On older GCC versions, just putting x_error_quitter | 7732 /* On older GCC versions, just putting x_error_quitter |
7745 after x_error_handler prevents inlining into the former. */ | 7733 after x_error_handler prevents inlining into the former. */ |
7746 | 7734 |
7747 static void NO_INLINE | 7735 static void NO_INLINE |