From c4ccb10bbbe502ff45a98b55cac56c765160a92e Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 25 Feb 2009 17:14:44 +0000 Subject: [PATCH] revert git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12279 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/freeswitch-gcore | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/freeswitch-gcore b/scripts/freeswitch-gcore index 1c31e06a2f..d1ca0feaca 100644 --- a/scripts/freeswitch-gcore +++ b/scripts/freeswitch-gcore @@ -1,12 +1,12 @@ #!/bin/bash -fspid=$(cat /opt/freeswitch/log/freeswitch.pid) -gcore -o /opt/freeswitch/log/freeswitch.gcore $fspid && \ - gdb /opt/freeswitch/bin/freeswitch \ - -c /opt/freeswitch/log/freeswitch.gcore.$fspid \ +fspid=$(cat /usr/local/freeswitch/log/freeswitch.pid) +gcore -o /usr/local/freeswitch/log/freeswitch.gcore $fspid && \ + gdb /usr/local/freeswitch/bin/freeswitch \ + -c /usr/local/freeswitch/log/freeswitch.gcore.$fspid \ --eval-command='set pagination off' \ --eval-command='bt' \ --eval-command='bt full' \ --eval-command='thread apply all bt' \ --eval-command='thread apply all bt full' \ --eval-command='quit' -#rm /opt/freeswitch/log/freeswitch.gcore.$fspid +#rm /usr/local/freeswitch/log/freeswitch.gcore.$fspid