diff options
| author | Eli Zaretskii | 2005-12-09 19:29:58 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-12-09 19:29:58 +0000 |
| commit | cb91d111bef1a3c69ca632c861cf2506f57c039a (patch) | |
| tree | b0ad518c0f849ac2fe5bf48edafb207ece2bbd81 /src | |
| parent | 3a817827e0f8e1006da5247e1f3dbc258281f77d (diff) | |
| download | emacs-cb91d111bef1a3c69ca632c861cf2506f57c039a.tar.gz emacs-cb91d111bef1a3c69ca632c861cf2506f57c039a.zip | |
(w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog.
Diffstat (limited to 'src')
| -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() | |||
| 8939 | button = MessageBox (NULL, | 8939 | button = MessageBox (NULL, |
| 8940 | "A fatal error has occurred!\n\n" | 8940 | "A fatal error has occurred!\n\n" |
| 8941 | "Would you like to attach a debugger?\n\n" | 8941 | "Would you like to attach a debugger?\n\n" |
| 8942 | "Select YES to debug, NO to abort Emacs", | 8942 | "Select YES to debug, NO to abort Emacs" |
| 8943 | "Emacs Abort Dialog", | 8943 | #if __GNUC__ |
| 8944 | "\n\n(type \"gdb -p <emacs-PID>\" and\n" | ||
| 8945 | "\"continue\" inside GDB before clicking YES.)" | ||
| 8946 | #endif | ||
| 8947 | , "Emacs Abort Dialog", | ||
| 8944 | MB_ICONEXCLAMATION | MB_TASKMODAL | 8948 | MB_ICONEXCLAMATION | MB_TASKMODAL |
| 8945 | | MB_SETFOREGROUND | MB_YESNO); | 8949 | | MB_SETFOREGROUND | MB_YESNO); |
| 8946 | switch (button) | 8950 | switch (button) |