Changes to ./inspircd to hopefully work on freebsd as well as linux..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3680 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
om 2006-03-11 19:46:10 +00:00
parent 2a76eaa8c4
commit 2b28d1f137
2 changed files with 3 additions and 1 deletions

2
.gdbargs Normal file
View File

@ -0,0 +1,2 @@
handle SIGPIPE pass nostop noprint
run

View File

@ -91,7 +91,7 @@ sub debug {
# Check to see its not 'running' already.
if (getstatus() == 1) { print "InspIRCd is already running.\n"; return 0; }
# If we are still alive here.. Try starting the IRCd..
system("gdb --eval-command=\"handle SIGPIPE pass nostop noprint\" --eval-command=\"run\" --args $binpath/$executable -nofork -debug");
system("gdb --command=.gdbargs --args $binpath/$executable -nofork -debug");
}