[PATCH] testsuite/smokey: Do not load .gdbinit in gdb test

Vitaly Chikunov vt at altlinux.org
Thu Apr 23 08:45:35 CEST 2020


Avoid possible prompt being redefined in `.gdbinit' which could break
gdb test.

Signed-off-by: Vitaly Chikunov <vt at altlinux.org>
---
 testsuite/smokey/gdb/gdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git testsuite/smokey/gdb/gdb.c testsuite/smokey/gdb/gdb.c
index cc11d2352..eabf75e6a 100644
--- testsuite/smokey/gdb/gdb.c
+++ testsuite/smokey/gdb/gdb.c
@@ -273,7 +273,7 @@ static int run_gdb(struct smokey_test *t, int argc, char *const argv[])
 
 			snprintf(run_param, sizeof(run_param), "--run=%d",
 				 t->__reserved.id);
-			execlp("gdb", "gdb", "--args",
+			execlp("gdb", "gdb", "--nx", "--args",
 			      argv[0], run_param, "run_target", (char *)NULL);
 			_exit(ESRCH);
 
-- 
2.21.0




More information about the Xenomai mailing list