mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 06:10:50 +00:00
Set gdb from env.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@5068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c58f5cdef6
commit
0cb8b234b2
1 changed files with 6 additions and 3 deletions
|
@ -34,6 +34,9 @@ fi
|
|||
if [ -z "$LIBRARY_COMBO" ]; then
|
||||
LIBRARY_COMBO=@ac_cv_library_combo@
|
||||
fi
|
||||
if [ -z "$GDB" ]; then
|
||||
GDB=gdb
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
--help)
|
||||
|
@ -169,7 +172,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 $corefile
|
||||
$GDB -connect TextEdit $gdbargs $full_appname/$appname $corefile
|
||||
|
||||
else
|
||||
# Determine if the application has a binary for this operating system
|
||||
|
@ -185,9 +188,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 $corefile
|
||||
$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 $corefile
|
||||
$GDB $full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname $corefile
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue