Mercurial > pidgin.yaz
changeset 3481:443b3311871d
[gaim-migrate @ 3535]
prompt for backtrace when segfault when DEBUG is defined.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 30 Aug 2002 20:41:01 +0000 |
parents | fc28f412e74d |
children | 25eea0717f72 |
files | src/aim.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aim.c Fri Aug 30 16:28:00 2002 +0000 +++ b/src/aim.c Fri Aug 30 20:41:01 2002 +0000 @@ -399,6 +399,10 @@ WEBSITE "gdb.php. If you need further\n" "assistance, please IM either RobFlynn or SeanEgn and\n" "they can help you.\n"); +#else + fprintf(stderr, "Oh no! Segmentation fault!\n"); + g_on_error_query (NULL); + #endif abort(); break;