From b933c5dcb660d494b91acbb931986ed2e4388767 Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 20 Jun 2007 00:03:22 +0000 Subject: don't delete the backtrace in ast_grab_core git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70164 f38db490-d61c-443f-a65b-d21fe96a405b --- contrib/scripts/ast_grab_core | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/scripts/ast_grab_core b/contrib/scripts/ast_grab_core index 8f405ebdd..dde246959 100644 --- a/contrib/scripts/ast_grab_core +++ b/contrib/scripts/ast_grab_core @@ -39,7 +39,7 @@ echo echo Trying for a backtrace of the captured core. -/usr/bin/gdb /usr/sbin/asterisk ${DUMPDIR}/asterisk_${DATE}.core.${PID} > /tmp/gdb_dump.${PID} 2> /dev/null << EOF +/usr/bin/gdb /usr/sbin/asterisk ${DUMPDIR}/asterisk_${DATE}.core.${PID} > ${DUMPDIR}/gdb_dump.${PID}.txt 2> /dev/null << EOF set prompt \n echo --------------------------------------------------------------------------------\n echo INFO THREAD @@ -57,7 +57,6 @@ echo Done trying for a bt. echo Notifying admins of the core. /usr/bin/mail -s "${HOSTNAME} core dumped at ${DUMPDIR}/asterisk_${DATE}.core.${PID}" ${ADMINEMAIL} < /tmp/gdb_dump.${PID} -/bin/rm /tmp/gdb_dump.${PID} echo Done. echo echo Reproducible deadlocks should be posted with a full backtrace and instructions -- cgit v1.2.3