* configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.
From-SVN: r14629
This commit is contained in:
parent
bc28c45bb5
commit
4caa6262f7
@ -27,7 +27,7 @@ savesrcdir=$srcdir
|
||||
for subdir in . $oldstyle_subdirs
|
||||
do
|
||||
# We only want to do this in language subdirs, but we have to handle
|
||||
# the case of $subdirs = "".
|
||||
# the case of $oldstyle_subdirs = "".
|
||||
if [ $subdir = . ]
|
||||
then
|
||||
continue
|
||||
@ -69,17 +69,12 @@ do
|
||||
rm -f .gdbinit
|
||||
echo "dir ." > .gdbinit
|
||||
echo "dir ${srcdir}" >> .gdbinit
|
||||
echo "dir ${mainsrcdir}" >> .gdbinit
|
||||
if [ x$gdb_needs_out_file_path = xyes ]
|
||||
then
|
||||
echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
|
||||
echo "dir ${mainsrcdir}/config/"`dirname ${out_file}` >> .gdbinit
|
||||
fi
|
||||
if [ "x$subdirs" != x ]; then
|
||||
for s in $subdirs
|
||||
do
|
||||
echo "dir ${srcdir}/$s" >> .gdbinit
|
||||
done
|
||||
fi
|
||||
echo "source ${srcdir}/.gdbinit" >> .gdbinit
|
||||
echo "source ${mainsrcdir}/.gdbinit" >> .gdbinit
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user