From 2b28d1f137778f9bc82d0ff2ea271debfaa5f5ca Mon Sep 17 00:00:00 2001 From: om Date: Sat, 11 Mar 2006 19:46:10 +0000 Subject: 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 --- .gdbargs | 2 ++ .inspircd.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gdbargs diff --git a/.gdbargs b/.gdbargs new file mode 100644 index 000000000..4ebefe1a0 --- /dev/null +++ b/.gdbargs @@ -0,0 +1,2 @@ +handle SIGPIPE pass nostop noprint +run diff --git a/.inspircd.inc b/.inspircd.inc index 8b4aad32a..cca512a97 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -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"); } -- cgit v1.2.3