7770 |
It kills all frames on the display that we got the error for. |
It kills all frames on the display that we got the error for. |
7771 |
If that was the only one, it prints an error message and kills Emacs. */ |
If that was the only one, it prints an error message and kills Emacs. */ |
7772 |
|
|
7773 |
/* It is after x_error_handler so that it won't get inlined in |
/* .gdbinit puts a breakpoint here, so make sure it is not inlined. */ |
|
x_error_handler. */ |
|
7774 |
|
|
7775 |
static void |
#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */ |
7776 |
|
#define NO_INLINE __attribute__((noinline)) |
7777 |
|
#else |
7778 |
|
#define NO_INLINE |
7779 |
|
#endif |
7780 |
|
|
7781 |
|
/* On older GCC versions, just putting x_error_quitter |
7782 |
|
after x_error_handler prevents inlining into the former. */ |
7783 |
|
|
7784 |
|
static void NO_INLINE |
7785 |
x_error_quitter (display, error) |
x_error_quitter (display, error) |
7786 |
Display *display; |
Display *display; |
7787 |
XErrorEvent *error; |
XErrorEvent *error; |