# HG changeset patch # User Eli Zaretskii # Date 1134156598 0 # Node ID 2e919998931e5b096ce2981f71cf89f306611207 # Parent dc47c26ee6435f3cc7d78fd8f233b9db6f2338b2 (w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog. diff -r dc47c26ee643 -r 2e919998931e src/w32fns.c --- 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 \" and\n" + "\"continue\" inside GDB before clicking YES.)" +#endif + , "Emacs Abort Dialog", MB_ICONEXCLAMATION | MB_TASKMODAL | MB_SETFOREGROUND | MB_YESNO); switch (button)