[asterisk-commits] russell: branch 1.4 r70164 - /branches/1.4/contrib/scripts/ast_grab_core

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 19 19:03:23 CDT 2007


Author: russell
Date: Tue Jun 19 19:03:22 2007
New Revision: 70164

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70164
Log:
don't delete the backtrace in ast_grab_core

Modified:
    branches/1.4/contrib/scripts/ast_grab_core

Modified: branches/1.4/contrib/scripts/ast_grab_core
URL: http://svn.digium.com/view/asterisk/branches/1.4/contrib/scripts/ast_grab_core?view=diff&rev=70164&r1=70163&r2=70164
==============================================================================
--- branches/1.4/contrib/scripts/ast_grab_core (original)
+++ branches/1.4/contrib/scripts/ast_grab_core Tue Jun 19 19:03:22 2007
@@ -39,7 +39,7 @@
 
 
 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 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




More information about the asterisk-commits mailing list