]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog.
authorEli Zaretskii <eliz@gnu.org>
Fri, 9 Dec 2005 19:29:58 +0000 (19:29 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 9 Dec 2005 19:29:58 +0000 (19:29 +0000)
src/w32fns.c

index 6fc6c860808b9ff195c0c790b4edef8502be6cf0..d1e4e49bb0309f2472e327ceba0c3991c6cb5534 100644 (file)
@@ -8939,8 +8939,12 @@ w32_abort()
   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)