From cb91d111bef1a3c69ca632c861cf2506f57c039a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 9 Dec 2005 19:29:58 +0000 Subject: [PATCH] (w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog. --- src/w32fns.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/w32fns.c b/src/w32fns.c index 6fc6c860808..d1e4e49bb03 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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 \" and\n" + "\"continue\" inside GDB before clicking YES.)" +#endif + , "Emacs Abort Dialog", MB_ICONEXCLAMATION | MB_TASKMODAL | MB_SETFOREGROUND | MB_YESNO); switch (button) -- 2.39.5