This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Re: Remote testsuite problem: invalid executable cache
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: uweigand at de dot ibm dot com
- Cc: drow at false dot org, jan dot kratochvil at redhat dot com, tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Sun, 24 Jul 2011 19:40:52 +0200 (CEST)
- Subject: Re: [rfc] Re: Remote testsuite problem: invalid executable cache
- References: <201107221743.p6MHhYCs031716@d06av02.portsmouth.uk.ibm.com>
> 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.