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

Jan Kiszka jan.kiszka at siemens.com
Fri Apr 24 19:23:08 CEST 2020


On 23.04.20 08:45, Vitaly Chikunov wrote:
> 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);
>   
> 

Thanks, applied.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list