Pass debugapp arguments to gdb which uses to run the app

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17273 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-07-21 09:29:05 +00:00
parent 570c76d5ab
commit d0e0c70837
2 changed files with 14 additions and 9 deletions

View file

@ -1,3 +1,8 @@
Mon Jul 21 10:31:08 2003 Andrew Ruder <aeruder@ksu.edu>
* debugapp.in: Pass debugapp arguments to gdb to use when running
the application.
Wed Jul 16 09:46:16 2003 Nicola Pero <n.pero@mi.flashnet.it>
* target.make (INTERNAL_OBJCFLAGS): On darwin with library-combo

View file

@ -195,14 +195,14 @@ fi
if [ $GNUSTEP_HOST_OS = nextstep4 ]; then
"$GDB" -connect TextEdit "$file_appname" "$corefile"
else
"$GDB" "$file_appname" "$corefile"
if [ -z "$corefile" ]; 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" "$corefile"
fi
fi
fi
fi