testsuite/smokey: Do not load .gdbinit in gdb test
PATCH 1/1 testsuite/smokey: Do not load .gdbinit in gdb test
Avoid possible prompt being redefined in `.gdbinit' which could break gdb test.
Signed-off-by Vitaly Chikunov <[email protected]>
--- testsuite/smokey/gdb/gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
smokey/gdb/gdb.c +1 -1
@@ -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 );
Signature · 1 line
2.21.0
Jan Kiszka
AppliedQuoted 14 lines · Vitaly Chikunov
Avoid possible prompt being redefined in `.gdbinit' which could break gdb test.
Signed-off-by Vitaly Chikunov <[email protected]>--- testsuite/smokey/gdb/gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)smokey/gdb/gdb.c +0
-0
smokey/gdb/gdb.c static int run_gdb(struct smokey_test *t, int argc, char *const argv[]) · line 279
Quoted 8 lines
smokey/gdb/gdb.c +1
-1@@ -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 );
Thanks, applied.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux