From db074518c3f61a66c54e993215194057b8d2f415 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 22 Oct 2003 12:46:45 +0000
Subject: [PATCH] allow gdb to check the libtest dir for sources too (for the
 500- tests)

---
 tests/runtests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {
-- 
GitLab