From: Daniel Stenberg Date: Wed, 22 Oct 2003 12:46:45 +0000 (+0000) Subject: allow gdb to check the libtest dir for sources too (for the 500- tests) X-Git-Tag: curl-7_10_8~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db074518c3f61a66c54e993215194057b8d2f415;p=thirdparty%2Fcurl.git allow gdb to check the libtest dir for sources too (for the 500- tests) --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 17089ae546..697f6f784f 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -784,7 +784,7 @@ sub singletest { print GDBCMD "set args $cmdargs\n"; print GDBCMD "show args\n"; close(GDBCMD); - system("gdb $DBGCURL -x log/gdbcmd"); + system("gdb --directory libtest $DBGCURL -x log/gdbcmd"); $res =0; # makes it always continue after a debugged run } else {