changeset 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 dc47c26ee643
children 54512729495b
files src/w32fns.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
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)