GDBv6 requires a bit more config to deal with dynamic libs and breakpoints.

This commit is contained in:
Gregory Burd 2008-09-10 12:53:46 -04:00
parent b9a7f69e0b
commit faa6e61f60

2
dist/sqlconf vendored
View file

@ -44,6 +44,7 @@ env $cppflags $ldflags $libs sh ../dist/configure -C $args
# echo "end" && # echo "end" &&
# echo "define dc" && # echo "define dc" &&
# echo 'print __db_dump(dbc->dbp, "a", "/tmp/o")' && # echo 'print __db_dump(dbc->dbp, "a", "/tmp/o")' &&
# echo "set breakpoint pending on" &&
# echo "end") > .gdbinit # echo "end") > .gdbinit
(echo "set environment LD_LIBRARY_PATH=.:.libs" && (echo "set environment LD_LIBRARY_PATH=.:.libs" &&
@ -51,6 +52,7 @@ env $cppflags $ldflags $libs sh ../dist/configure -C $args
echo "dir ../src/dbsql" && echo "dir ../src/dbsql" &&
echo "dir /usr/local/db/src" && echo "dir /usr/local/db/src" &&
echo "path /usr/local/db/lib" && echo "path /usr/local/db/lib" &&
echo "set breakpoint pending on" &&
echo "path .") > .gdbinit echo "path .") > .gdbinit
rm -f tags rm -f tags