mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
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:
parent
570c76d5ab
commit
d0e0c70837
2 changed files with 14 additions and 9 deletions
|
@ -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
|
||||
|
|
18
debugapp.in
18
debugapp.in
|
@ -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
|
Loading…
Reference in a new issue