Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /gxine-test [6aac01] .. [4574cf] Maximize Restore

  Switch to side-by-side view

--- a/gxine-test
+++ b/gxine-test
@@ -27,18 +27,8 @@
 export GXINE_MISCDIR="$GXINE_ROOT/misc"
 export GXINE_CONFDIR="$GXINE_ROOT/misc"
 
-cleanup ()
-{
-  test "$GDBCMD" != '' && rm -f "$GDBCMD"
-}
-
 if test "$USEGDB" = y; then
-  # bash: exec gdb "$GXINE_ROOT/src/gxine" <(echo set args "$@")
-  unset GDBCMD
-  trap cleanup EXIT
-  GDBCMD="`tempfile`"
-  echo set args "$@" >>"$GDBCMD"
-  gdb "$GXINE_ROOT/src/gxine" -x "$GDBCMD"
+  gdb --args "$GXINE_ROOT/src/gxine" "$@"
 else
   exec "$GXINE_ROOT/src/gxine" "$@"
 fi