All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] testsuite/smokey: Do not load .gdbinit in gdb test
@ 2020-04-23  6:45 Vitaly Chikunov
  2020-04-24 17:23 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Chikunov @ 2020-04-23  6:45 UTC (permalink / raw)
  To: Jan Kiszka, Xenomai

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

Signed-off-by: Vitaly Chikunov <vt@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-24 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23  6:45 [PATCH] testsuite/smokey: Do not load .gdbinit in gdb test Vitaly Chikunov
2020-04-24 17:23 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.