Create a .gdbinit that sources the real one, if using a different
build directory.
This commit is contained in:
parent
86dfb30a1b
commit
8b66759af7
1 changed files with 6 additions and 0 deletions
|
@ -1327,4 +1327,10 @@ echo creating src/Makefile
|
|||
chmod 444 Makefile.new
|
||||
mv -f Makefile.new Makefile
|
||||
)
|
||||
|
||||
if test ! -f src/.gdbinit && test -f $top_srcdir/src/.gdbinit; then
|
||||
echo creating src/.gdbinit
|
||||
echo source $top_srcdir/src/.gdbinit > src/.gdbinit
|
||||
fi
|
||||
|
||||
], [CPP="$CPP" CPPFLAGS="$CPPFLAGS"])
|
||||
|
|
Loading…
Add table
Reference in a new issue