mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 06:10:50 +00:00
Added core file support in debugapp. Changed default cell size in NSMatrix so it's more automatic. Fixed NSURL scheme typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@5015 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6eed0b5cbf
commit
de1ea1b0c4
2 changed files with 16 additions and 3 deletions
|
@ -3,6 +3,10 @@
|
|||
* target.make (AUXILIARY_CPPFLAGS): Change from ADDITIONAL... so
|
||||
it doesn't get reset by other Makefiles
|
||||
|
||||
1999-10-11 Lyndon Tremblay <humasect@coolmail.com>
|
||||
|
||||
* debugapp: Added support for core files, if found
|
||||
|
||||
1999-10-11 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Allow for separate System root directory and other changes
|
||||
|
|
15
debugapp.in
15
debugapp.in
|
@ -110,6 +110,15 @@ case $app in
|
|||
done;;
|
||||
esac
|
||||
|
||||
corefile=
|
||||
if [ -f core ]; then
|
||||
echo -e "Core image has been found in working directory. Use it? ";
|
||||
read;
|
||||
if [ $REPLY = y ]; then
|
||||
corefile="--core=core";
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$full_appname" ]; then
|
||||
echo "Can't find the required application: $app!"
|
||||
exit 1
|
||||
|
@ -160,7 +169,7 @@ if [ "$LIBRARY_COMBO" = nx-nx-nx-nil -a $GNUSTEP_HOST_OS = nextstep4 ]; then
|
|||
fi
|
||||
|
||||
# Support for GDBbundle under OPENSTEP
|
||||
gdb -connect TextEdit $gdbargs $full_appname/$appname
|
||||
gdb -connect TextEdit $gdbargs $full_appname/$appname $corefile
|
||||
|
||||
else
|
||||
# Determine if the application has a binary for this operating system
|
||||
|
@ -176,9 +185,9 @@ else
|
|||
|
||||
# Support for GDBbundle under OPENSTEP
|
||||
if [ $GNUSTEP_HOST_OS = nextstep4 ]; then
|
||||
gdb -connect TextEdit $full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname
|
||||
gdb -connect TextEdit $full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname $corefile
|
||||
else
|
||||
gdb $full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname
|
||||
gdb $full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname $corefile
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue