[rfc] Re: Remote testsuite problem: invalid executable cache

Mark Kettenis mark.kettenis@xs4all.nl
Sun Jul 24 18:04:00 GMT 2011


> Date: Fri, 22 Jul 2011 19:43:34 +0200 (CEST)
> From: "Ulrich Weigand" <uweigand@de.ibm.com>
>
> Index: gdb/testsuite/gdb.python/py-mi.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.python/py-mi.exp,v
> retrieving revision 1.11
> diff -u -p -r1.11 py-mi.exp
> --- gdb/testsuite/gdb.python/py-mi.exp	16 May 2011 13:56:40 -0000	1.11
> +++ gdb/testsuite/gdb.python/py-mi.exp	22 Jul 2011 17:34:25 -0000
> @@ -286,7 +286,7 @@ mi_list_varobj_children nstype2 {
>  
>  # C++ MI tests
>  gdb_exit
> -if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
> +if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-c++" \
>  	   executable {debug c++ additional_flags=-DMI}] != "" } {
>      untested "Couldn't compile ${srcfile} in c++ mode"
>      return -1
> @@ -297,7 +297,7 @@ if [mi_gdb_start] {
>  }
>  mi_delete_breakpoints
>  mi_gdb_reinitialize_dir $srcdir/$subdir
> -mi_gdb_load ${binfile}
> +mi_gdb_load ${binfile}-c++

Using the '+' character in filenames may not be the best idea.



More information about the Gdb-patches mailing list