Mercurial > emacs
diff src/w32fns.c @ 67438:2e919998931e
(w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 09 Dec 2005 19:29:58 +0000 |
parents | a14e3b63c666 |
children | 5b6c71adc503 |
line wrap: on
line diff
--- a/src/w32fns.c Fri Dec 09 19:17:40 2005 +0000 +++ b/src/w32fns.c Fri Dec 09 19:29:58 2005 +0000 @@ -8939,8 +8939,12 @@ button = MessageBox (NULL, "A fatal error has occurred!\n\n" "Would you like to attach a debugger?\n\n" - "Select YES to debug, NO to abort Emacs", - "Emacs Abort Dialog", + "Select YES to debug, NO to abort Emacs" +#if __GNUC__ + "\n\n(type \"gdb -p <emacs-PID>\" and\n" + "\"continue\" inside GDB before clicking YES.)" +#endif + , "Emacs Abort Dialog", MB_ICONEXCLAMATION | MB_TASKMODAL | MB_SETFOREGROUND | MB_YESNO); switch (button)