# HG changeset patch # User Eli Zaretskii # Date 1136398311 0 # Node ID 75f9e1ee6fa608d6b481f64a38ff45cda869a8ce # Parent ff3192098d4e74f7684ce9d8b75ef10e93fa3bbf Avoid a warning message when x_error_quitter is not compiled in. diff -r ff3192098d4e -r 75f9e1ee6fa6 src/.gdbinit --- a/src/.gdbinit Wed Jan 04 17:52:40 2006 +0000 +++ b/src/.gdbinit Wed Jan 04 18:11:51 2006 +0000 @@ -782,7 +782,15 @@ # If we are running in synchronous mode, we want a chance to look around # before Emacs exits. Perhaps we should put the break somewhere else # instead... - break x_error_quitter + xgetptr Vwindow_system + set $tem = (struct Lisp_Symbol *) $ptr + xgetptr $tem->xname + set $tem = (struct Lisp_String *) $ptr + set $tem = (char *) $tem->data + # x_error_quitter is defined only on X + if $tem[0] == 'x' && $tem[1] == '\0' + break x_error_quitter + end end # arch-tag: 12f34321-7bfa-4240-b77a-3cd3a1696dfe