--- /usr/local/src/gnustep/gnustep/core/make/debugapp Sun Jul 27 12:42:27 2003 +++ debugapp Mon Jul 28 20:21:59 2003 @@ -205,14 +205,14 @@ if [ $GNUSTEP_HOST_OS = nextstep4 ]; then "$GDB" -connect TextEdit "$file_appname" "$corearg" else - if [ -z "$corearg" ]; then + if [ -z "$corearg"] && (gdb --help | grep -e --args > /dev/null); then # Arguments passed to debugapp are passed over to the # application, in the same way as it happens for openapp. "$GDB" --args "$file_appname" "$@" else - "$GDB" "$file_appname" "$corearg" + "$GDB" "$file_appname" fi fi -fi \ No newline at end of file +fi