Commit f50006dc authored by Vitaly Chikunov's avatar Vitaly Chikunov Committed by Jan Kiszka

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

Avoid possible prompt being redefined in `.gdbinit' which could break
gdb test.
Signed-off-by: default avatarVitaly Chikunov <vt@altlinux.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent d98ad79d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment