[PATCH] testsuite/gdb.dwarf2: Enable dw2-error.exp tests for arm targets

Abid, Hafiz Hafiz_Abid@mentor.com
Tue Oct 1 10:05:00 GMT 2013


> +if  {[gdb_compile [list ${binfile}1.o ${binfile}2.o ] \
> +      "${binfile}" executable {}] != ""} {
> +    return -1
> +}
> +
> +clean_restart ${testfile}
> +
>  gdb_exit
>  gdb_start
>  gdb_reinitialize_dir $srcdir/$subdir

This gdb_exit, gdb_start, gdb_reinitialize_dir sequence right after clean_restart tells me that perhaps one of them is redundant.



More information about the Gdb-patches mailing list