diff options
author | Eli Zaretskii <eliz@gnu.org> | 2005-12-09 19:29:58 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2005-12-09 19:29:58 +0000 |
commit | cb91d111bef1a3c69ca632c861cf2506f57c039a (patch) | |
tree | b0ad518c0f849ac2fe5bf48edafb207ece2bbd81 /src/w32fns.c | |
parent | 3a817827e0f8e1006da5247e1f3dbc258281f77d (diff) | |
download | emacs-cb91d111bef1a3c69ca632c861cf2506f57c039a.tar.gz |
(w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 8 |
1 files 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 <emacs-PID>\" and\n" + "\"continue\" inside GDB before clicking YES.)" +#endif + , "Emacs Abort Dialog", MB_ICONEXCLAMATION | MB_TASKMODAL | MB_SETFOREGROUND | MB_YESNO); switch (button) |