Re: MIPS build slave

Brendan Kirby
2015-07-20T21:24:27Z

[-- Attachment #1: Type: text/plain, Size: 2398 bytes --]

On 07/20/2015 01:45 PM, Simon Marchi wrote:
> On 15-07-20 04:04 PM, Brendan Kirby wrote:
>> I ran the steps below. The build was successful. I built with commit
>> 7ac018954bd9 because the latest one was failing to build. However, I'm
>> still not seeing this file. I've attached the output of running "make
>> check RUNTESTFLAGS='gdb.mi/mi-watch.exp'" in the file
>> gdb.mi-mi-watch.exp.out and I've attached the gdb/testsuite/gdb.log file
>> in gdb.mi-mi-watch.exp.log. Let me know if you want me to try
>> anything else.
>>
>> Brendan
> Thanks for trying that.
>
> Looking at the error message (any of them), the pattern is:
>
> Cannot exec $execfile -c exec $execfile
>
> This looks awfully as if it should be
>
> $SHELL -c exec $execfile
>
> but that somehow the exec-file name ended up in place of the shell. That
> command line seems to be constructed in fork-child.c:fork_inferior, but I
> don't see how it could end up like that.
>
> It's probably not related, but let's rule out obvious things. I notice that
> the SHELL of the user running the buildbot slave is be /sbin/nologin (from
> an output of show env in gdb.log). It seems to be a problem for some tests
> that use the shell command at least (search for nologin in the log). Setting
> the shell of the user to a real shell will help for those.
The Buildbot user has SHELL set to /bin/nologin to avoid giving the user
SSH access. I'll change the SHELL environment variable to /bin/bash
when I start the Buildbot slave to avoid breaking the testing.

>
> When you ran the make check RUNTESTFLAGS="..." command that Sergio asked you
> to run, was it as the same user as the buildbot slave's user? I assume not,
> since the shell is nologin. Would it be possible to try it again, but this
> time as that user?
When I rebuilt this morning, I was running as the same user as the
Buildbot uses. Also, I had SHELL set to /bin/bash. I've just re-run
the build with SHELL explicitly set on the make command like:
make -j1 all SHELL=/bin/bash
make check RUNTESTFLAGS='gdb.mi/mi-watch.exp' SHELL=/bin/bash

I'm not seeing the messages:

Cannot exec $execfile -c exec $execfile

in any of the logs ("grep -i 'cannot.*exec' *" returns nothing). I'm
attaching the build log from the above "make -j1 all SHELL=/bin/bash"
command above as build.log as well as the newer versions of the make
check and gdb.log logs.

Brendan

[-- Attachment #2: build-with-SHELL.out --]
[-- Type: text/plain, Size: 20913 bytes --]

make[1]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty/testsuite'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/intl'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2 -minterlink-mips16" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2 -minterlink-mips16" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/mips64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/zlib'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
Making info in doc
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
Making info in po
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make all-recursive
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
Making all in doc
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
Making all in po
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
file=`echo ../../../binutils-gdb/bfd/po/da | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/da.po
file=`echo ../../../binutils-gdb/bfd/po/es | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/es.po
file=`echo ../../../binutils-gdb/bfd/po/fi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/fi.po
file=`echo ../../../binutils-gdb/bfd/po/fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/fr.po
file=`echo ../../../binutils-gdb/bfd/po/id | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/id.po
file=`echo ../../../binutils-gdb/bfd/po/ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ja.po
file=`echo ../../../binutils-gdb/bfd/po/ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ro.po
file=`echo ../../../binutils-gdb/bfd/po/ru | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ru.po
file=`echo ../../../binutils-gdb/bfd/po/rw | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/rw.po
file=`echo ../../../binutils-gdb/bfd/po/sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/sv.po
file=`echo ../../../binutils-gdb/bfd/po/tr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/tr.po
file=`echo ../../../binutils-gdb/bfd/po/uk | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/uk.po
file=`echo ../../../binutils-gdb/bfd/po/vi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/vi.po
file=`echo ../../../binutils-gdb/bfd/po/zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/zh_CN.po
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make all-recursive
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
Making all in .
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
Making all in po
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes/po'
file=`echo ../../../binutils-gdb/opcodes/po/da | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/da.po
file=`echo ../../../binutils-gdb/opcodes/po/de | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/de.po
file=`echo ../../../binutils-gdb/opcodes/po/es | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/es.po
file=`echo ../../../binutils-gdb/opcodes/po/fi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/fi.po
file=`echo ../../../binutils-gdb/opcodes/po/fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/fr.po
file=`echo ../../../binutils-gdb/opcodes/po/ga | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/ga.po
file=`echo ../../../binutils-gdb/opcodes/po/id | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/id.po
file=`echo ../../../binutils-gdb/opcodes/po/it | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/it.po
file=`echo ../../../binutils-gdb/opcodes/po/nl | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/nl.po
file=`echo ../../../binutils-gdb/opcodes/po/pt_BR | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/pt_BR.po
file=`echo ../../../binutils-gdb/opcodes/po/ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/ro.po
file=`echo ../../../binutils-gdb/opcodes/po/sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/sv.po
file=`echo ../../../binutils-gdb/opcodes/po/tr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/tr.po
file=`echo ../../../binutils-gdb/opcodes/po/uk | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/uk.po
file=`echo ../../../binutils-gdb/opcodes/po/vi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/vi.po
file=`echo ../../../binutils-gdb/opcodes/po/zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/zh_CN.po
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes/po'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/etc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/etc'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libdecnumber'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libdecnumber'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/readline'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/readline'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[5]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make all-recursive
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[8]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[8]: Nothing to be done for 'all-am'.
make[8]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[5]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/doc'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[5]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[8]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make all-recursive
make[9]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Nothing to be done for 'all-am'.
make[10]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[9]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[8]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver'
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver'
make[5]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[5]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[8]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make all-recursive
make[9]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[10]: Nothing to be done for 'all-am'.
make[10]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[9]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[8]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver/import'
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-gnulib-gdbserver'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver'
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver/testsuite'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver/build-libiberty-gdbserver'
make[5]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/gdbserver'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/data-directory'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/data-directory'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[5]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[6]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make all-recursive
make[7]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[8]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[8]: Nothing to be done for 'all-am'.
make[8]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[7]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[6]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib/import'
make[5]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/build-gnulib'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[1]: Nothing to be done for 'all-target'.
make[1]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build'

[-- Attachment #3: gdb.mi-mi-watch.exp.out --]
[-- Type: text/plain, Size: 12551 bytes --]

make[1]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make check-recursive
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
Making check in doc
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/doc'
Making check in po
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
file=`echo ../../../binutils-gdb/bfd/po/da | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/da.po
file=`echo ../../../binutils-gdb/bfd/po/es | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/es.po
file=`echo ../../../binutils-gdb/bfd/po/fi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/fi.po
file=`echo ../../../binutils-gdb/bfd/po/fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/fr.po
file=`echo ../../../binutils-gdb/bfd/po/id | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/id.po
file=`echo ../../../binutils-gdb/bfd/po/ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ja.po
file=`echo ../../../binutils-gdb/bfd/po/ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ro.po
file=`echo ../../../binutils-gdb/bfd/po/ru | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/ru.po
file=`echo ../../../binutils-gdb/bfd/po/rw | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/rw.po
file=`echo ../../../binutils-gdb/bfd/po/sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/sv.po
file=`echo ../../../binutils-gdb/bfd/po/tr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/tr.po
file=`echo ../../../binutils-gdb/bfd/po/uk | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/uk.po
file=`echo ../../../binutils-gdb/bfd/po/vi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/vi.po
file=`echo ../../../binutils-gdb/bfd/po/zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/bfd/po/zh_CN.po
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd/po'
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/bfd'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
Making check in .
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
Making check in po
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes/po'
file=`echo ../../../binutils-gdb/opcodes/po/da | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/da.po
file=`echo ../../../binutils-gdb/opcodes/po/de | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/de.po
file=`echo ../../../binutils-gdb/opcodes/po/es | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/es.po
file=`echo ../../../binutils-gdb/opcodes/po/fi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/fi.po
file=`echo ../../../binutils-gdb/opcodes/po/fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/fr.po
file=`echo ../../../binutils-gdb/opcodes/po/ga | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/ga.po
file=`echo ../../../binutils-gdb/opcodes/po/id | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/id.po
file=`echo ../../../binutils-gdb/opcodes/po/it | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/it.po
file=`echo ../../../binutils-gdb/opcodes/po/nl | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/nl.po
file=`echo ../../../binutils-gdb/opcodes/po/pt_BR | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/pt_BR.po
file=`echo ../../../binutils-gdb/opcodes/po/ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/ro.po
file=`echo ../../../binutils-gdb/opcodes/po/sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/sv.po
file=`echo ../../../binutils-gdb/opcodes/po/tr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/tr.po
file=`echo ../../../binutils-gdb/opcodes/po/uk | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/uk.po
file=`echo ../../../binutils-gdb/opcodes/po/vi | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/vi.po
file=`echo ../../../binutils-gdb/opcodes/po/zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH : -o $file ../../../binutils-gdb/opcodes/po/zh_CN.po
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes/po'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/opcodes'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/etc'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/etc'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/intl'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/intl'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libdecnumber'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libdecnumber'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty/testsuite'
./test-demangle < ../../../binutils-gdb/libiberty/testsuite/demangle-expected
./test-demangle: 898 tests, 0 failures
./test-demangle < ../../../binutils-gdb/libiberty/testsuite/d-demangle-expected
./test-demangle: 266 tests, 0 failures
./test-pexecute
./test-expandargv
PASS: test-expandargv-0.
PASS: test-expandargv-1.
PASS: test-expandargv-2.
PASS: test-expandargv-3.
PASS: test-expandargv-4.
PASS: test-expandargv-5.
PASS: test-expandargv-6.
./test-strtol
PASS: test-strtol-0.
PASS: test-strtol-1.
PASS: test-strtol-2.
PASS: test-strtol-3.
PASS: test-strtol-4.
PASS: test-strtol-5.
PASS: test-strtol-6.
PASS: test-strtol-7.
PASS: test-strtol-8.
PASS: test-strtol-9.
PASS: test-strtol-10.
PASS: test-strtol-11.
PASS: test-strtol-12.
PASS: test-strtol-13.
PASS: test-strtol-14.
PASS: test-strtol-15.
PASS: test-strtol-16.
PASS: test-strtol-17.
PASS: test-strtol-18.
PASS: test-strtol-19.
PASS: test-strtol-20.
PASS: test-strtol-21.
PASS: test-strtol-22.
PASS: test-strtol-23.
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty/testsuite'
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/libiberty'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/readline'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/readline'
make[2]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
make[3]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite'
Nothing to be done for all...
make check-single
make[4]: Entering directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite'
rootme=`pwd`; export rootme; srcdir=../../../binutils-gdb/gdb/testsuite ; export srcdir ; EXPECT=`if [ "${READ1}" != "" ] ; then echo ${rootme}/expect-read1; elif [ -f ${rootme}/../../expect/expect ] ; then echo ${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; EXEEXT= ; export EXEEXT ; LD_LIBRARY_PATH=$rootme/../../expect:$rootme/../../libstdc++:$rootme/../../tk/unix:$rootme/../../tcl/unix:$rootme/../../bfd:$rootme/../../opcodes:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; if [ -f ${rootme}/../../expect/expect ] ; then TCL_LIBRARY=${srcdir}/../../tcl/library ; export TCL_LIBRARY ; fi ; runtest gdb.mi/mi-watch.exp
Test Run By buildbot on Mon Jul 20 14:07:00 2015
Native configuration is mips64-unknown-linux-gnu

=== gdb tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running ../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-watch.exp ...
XPASS: gdb.mi/mi-watch.exp: sw: watchpoint trigger

=== gdb Summary ===

# of expected passes 13
# of unexpected successes 1
/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb version 7.10.50.20150720-cvs -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory

Makefile:196: recipe for target 'check-single' failed
make[4]: *** [check-single] Error 1
make[4]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite'
Makefile:155: recipe for target 'check' failed
make[3]: *** [check] Error 2
make[3]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite'
Makefile:1144: recipe for target 'check' failed
make[2]: *** [check] Error 2
make[2]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb'
Makefile:8772: recipe for target 'check-gdb' failed
make[1]: *** [check-gdb] Error 2
make[1]: Leaving directory '/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build'
Makefile:2198: recipe for target 'do-check' failed
make: *** [do-check] Error 2

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: gdb.mi-mi-watch.exp.log --]
[-- Type: text/x-log; name="gdb.mi-mi-watch.exp.log", Size: 20569 bytes --]

Test Run By buildbot on Mon Jul 20 14:07:00 2015
Native configuration is mips64-unknown-linux-gnu

=== gdb tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running ../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-watch.exp ...
spawn /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory -i=mi
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.10.50.20150720-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"mips64-unknown-linux-gnu\".\nType \"show configuration\" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
(gdb)
100-gdb-set height 0
100^done
(gdb)
101-gdb-set width 0
101^done
(gdb)
show mi-async
&"show mi-async\n"
~"Whether MI is in asynchronous mode is off.\n"
^done
(gdb)
Executing on host: gcc ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c -g -lm -o /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/gdb.mi/mi-watch (timeout = 300)
spawn gcc ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c -g -lm -o /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/gdb.mi/mi-watch
Expecting: ^(567-gdb-set can-use-hw-watchpoints 0[
]+)?(567\^done[
]+[(]gdb[)]
[ ]*)
567-gdb-set can-use-hw-watchpoints 0
567^done
(gdb)
PASS: gdb.mi/mi-watch.exp: hw watchpoints toggle (1)
102-break-delete
102^done
(gdb)
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb)
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb)
105-environment-directory ../../../binutils-gdb/gdb/testsuite/gdb.mi
105^done,source-path="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb)
105-file-exec-and-symbols /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/gdb.mi/mi-watch
105^done
(gdb)
Expecting: ^(200-break-insert -t callee4[
]+)?(200\^done,bkpt={number=".*",type="breakpoint",disp="del",enabled=".*",addr=".*",func="callee4(\(.*\))?",file=".*",fullname=".*",line=".*",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
200-break-insert -t callee4
200^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004006ec",func="callee4",file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25",thread-groups=["i1"],times="0",original-location="callee4"}
(gdb)
PASS: gdb.mi/mi-watch.exp: sw: breakpoint at callee4
220-exec-run
=thread-group-started,id="i1",pid="2202"
=thread-created,id="1",group-id="i1"
=library-loaded,id="/lib/ld.so.1",target-name="/lib/ld.so.1",host-name="/lib/ld.so.1",symbols-loaded="0",thread-group="i1"
220^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="callee4",args=\[.*\],(?:file="[^
]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line="[0-9]+"|from=".*")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
=library-loaded,id="/lib/mips-linux-gnu/libm.so.6",target-name="/lib/mips-linux-gnu/libm.so.6",host-name="/lib/mips-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/mips-linux-gnu/libc.so.6",target-name="/lib/mips-linux-gnu/libc.so.6",host-name="/lib/mips-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004006ec",func="callee4",file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25",thread-groups=["i1"],times="1",original-location="callee4"}
~"\nTemporary breakpoint "
~"1, callee4 () at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:25\n"
~"25\t int A=1;\n"
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x004006ec",func="callee4",args=[],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25"},thread-id="1",stopped-threads="all",core="0"
=breakpoint-deleted,id="1"
(gdb)
PASS: gdb.mi/mi-watch.exp: sw: mi runto callee4
Expecting: ^(111-break-watch C[
]+)?(111\^done,wpt={number="2",exp="C"}[
]+[(]gdb[)]
[ ]*)
111-break-watch C
111^done,wpt={number="2",exp="C"}
(gdb)
PASS: gdb.mi/mi-watch.exp: sw: break-watch operation
Expecting: ^(222-break-list[
]+)?(222\^done,BreakpointTable={nr_rows=".",nr_cols=".",hdr=\[{width=".*",alignment=".*",col_name="number",colhdr="Num"}.*colhdr="Type".*colhdr="Disp".*colhdr="Enb".*colhdr="Address".*colhdr="What".*\],body=\[bkpt={number="2",type=".*watchpoint",disp="keep",enabled="y",what="C",thread-groups=\["i1"\],times="0",original-location="C"}\]}[
]+[(]gdb[)]
[ ]*)
222-break-list
222^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="2",type="watchpoint",disp="keep",enabled="y",what="C",thread-groups=["i1"],times="0",original-location="C"}]}
(gdb)
PASS: gdb.mi/mi-watch.exp: sw: list of watchpoints
-exec-continue
^running
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="2",type="watchpoint",disp="keep",enabled="y",what="C",thread-groups=["i1"],times="1",original-location="C"}
~"Watchpoint 2: C\n"
mi_expect_stop: expecting: \*stopped,reason="watchpoint-trigger",wpt={number="2",exp="C"},value={old=".*",new="3"},frame={addr="0x[0-9A-Fa-f]+",func="callee4",args=\[\],(?:file="[^
]*.*basics.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*basics.c",line="30"|from=".*basics.c")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
~"\nOld value = "
~"-163754450\nNew value = "
~"3\n"
~"callee4 () at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:30\n"
~"30\t return 0;\n"
*stopped,reason="watchpoint-trigger",wpt={number="2",exp="C"},value={old="-163754450",new="3"},frame={addr="0x0040070c",func="callee4",args=[],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="30"},thread-id="1",stopped-threads="all",core="0"
(gdb)
PASS: gdb.mi/mi-watch.exp: sw: watchpoint trigger
-exec-continue
^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x[0-9A-Fa-f]+",func="callee3",args=\[.*\],(?:file="[^
]*.*basics.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*basics.c",line="35"|from=".*basics.c")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
=breakpoint-modified,bkpt={number="2",type="watchpoint",disp="dstp",enabled="y",what="C",thread-groups=["i1"],times="2",original-location="C"}
~"callee3 (strarg=0x4009f0 \"A string argument.\") at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:35\n"
~"35\t}\n"
*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x00400740",func="callee3",args=[{name="strarg",value="0x4009f0 \"A string argument.\""}],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="35"},thread-id="1",stopped-threads="all",core="0"
=breakpoint-deleted,id="2"
(gdb)
XPASS: gdb.mi/mi-watch.exp: sw: watchpoint trigger
spawn /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory -i=mi
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.10.50.20150720-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"mips64-unknown-linux-gnu\".\nType \"show configuration\" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
(gdb)
100-gdb-set height 0
100^done
(gdb)
101-gdb-set width 0
101^done
(gdb)
show mi-async
&"show mi-async\n"
~"Whether MI is in asynchronous mode is off.\n"
^done
(gdb)
Expecting: ^(890-gdb-set can-use-hw-watchpoints 1[
]+)?(890\^done[
]+[(]gdb[)]
[ ]*)
890-gdb-set can-use-hw-watchpoints 1
890^done
(gdb)
PASS: gdb.mi/mi-watch.exp: hw watchpoints toggle (2)
102-break-delete
102^done
(gdb)
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb)
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb)
105-environment-directory ../../../binutils-gdb/gdb/testsuite/gdb.mi
105^done,source-path="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb)
105-file-exec-and-symbols /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/gdb.mi/mi-watch
105^done
(gdb)
Expecting: ^(200-break-insert -t callee4[
]+)?(200\^done,bkpt={number=".*",type="breakpoint",disp="del",enabled=".*",addr=".*",func="callee4(\(.*\))?",file=".*",fullname=".*",line=".*",thread-groups=\[.*\],times=".*".*original-location=".*"}[
]+[(]gdb[)]
[ ]*)
200-break-insert -t callee4
200^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004006ec",func="callee4",file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25",thread-groups=["i1"],times="0",original-location="callee4"}
(gdb)
PASS: gdb.mi/mi-watch.exp: hw: breakpoint at callee4
220-exec-run
=thread-group-started,id="i1",pid="2215"
=thread-created,id="1",group-id="i1"
=library-loaded,id="/lib/ld.so.1",target-name="/lib/ld.so.1",host-name="/lib/ld.so.1",symbols-loaded="0",thread-group="i1"
220^running
*running,thread-id="all"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="callee4",args=\[.*\],(?:file="[^
]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line="[0-9]+"|from=".*")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
=library-loaded,id="/lib/mips-linux-gnu/libm.so.6",target-name="/lib/mips-linux-gnu/libm.so.6",host-name="/lib/mips-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/mips-linux-gnu/libc.so.6",target-name="/lib/mips-linux-gnu/libc.so.6",host-name="/lib/mips-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x004006ec",func="callee4",file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25",thread-groups=["i1"],times="1",original-location="callee4"}
~"\nTemporary breakpoint "
~"1, callee4 () at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:25\n"
~"25\t int A=1;\n"
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x004006ec",func="callee4",args=[],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="25"},thread-id="1",stopped-threads="all",core="0"
=breakpoint-deleted,id="1"
(gdb)
PASS: gdb.mi/mi-watch.exp: hw: mi runto callee4
Expecting: ^(111-break-watch C[
]+)?(111\^done,wpt={number="2",exp="C"}[
]+[(]gdb[)]
[ ]*)
111-break-watch C
111^done,wpt={number="2",exp="C"}
(gdb)
PASS: gdb.mi/mi-watch.exp: hw: break-watch operation
Expecting: ^(222-break-list[
]+)?(222\^done,BreakpointTable={nr_rows=".",nr_cols=".",hdr=\[{width=".*",alignment=".*",col_name="number",colhdr="Num"}.*colhdr="Type".*colhdr="Disp".*colhdr="Enb".*colhdr="Address".*colhdr="What".*\],body=\[bkpt={number="2",type=".*watchpoint",disp="keep",enabled="y",what="C",thread-groups=\["i1"\],times="0",original-location="C"}\]}[
]+[(]gdb[)]
[ ]*)
222-break-list
222^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="2",type="hw watchpoint",disp="keep",enabled="y",what="C",thread-groups=["i1"],times="0",original-location="C"}]}
(gdb)
PASS: gdb.mi/mi-watch.exp: hw: list of watchpoints
-exec-continue
^running
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="2",type="hw watchpoint",disp="keep",enabled="y",what="C",thread-groups=["i1"],times="1",original-location="C"}
~"Hardware watchpoint 2: C\n"
~"\nOld value = "
~"-163754450\nNew value = "
~"3\n"
~"callee4 () at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:30\n"
~"30\t return 0;\n"
*stopped,reason="watchpoint-trigger",wpt={number="2",exp="C"},value={old="-163754450",new="3"},frame={addr="0x0040070c",func="callee4",args=[],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="30"},thread-id="1",stopped-threads="all",core="0"
(gdb)
mi_expect_stop: expecting: \*stopped,reason="watchpoint-trigger",wpt={number="2",exp="C"},value={old=".*",new="3"},frame={addr="0x[0-9A-Fa-f]+",func="callee4",args=\[\],(?:file="[^
]*.*basics.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*basics.c",line="30"|from=".*basics.c")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
PASS: gdb.mi/mi-watch.exp: hw: watchpoint trigger
-exec-continue
^running
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="2",type="hw watchpoint",disp="dstp",enabled="y",what="C",thread-groups=["i1"],times="2",original-location="C"}
mi_expect_stop: expecting: \*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x[0-9A-Fa-f]+",func="callee3",args=\[.*\],(?:file="[^
]*.*basics.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*basics.c",line="35"|from=".*basics.c")},thread-id="[0-9]+",stopped-threads=[^
]*
(=thread-selected,id="[0-9]+"
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"
)*[(]gdb[)]
$
~"callee3 (strarg=0x4009f0 \"A string argument.\") at ../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c:35\n"
~"35\t}\n"
*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x00400740",func="callee3",args=[{name="strarg",value="0x4009f0 \"A string argument.\""}],file="../../../binutils-gdb/gdb/testsuite/gdb.mi/basics.c",fullname="/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/binutils-gdb/gdb/testsuite/gdb.mi/basics.c",line="35"},thread-id="1",stopped-threads="all",core="0"
=breakpoint-deleted,id="2"
(gdb)
PASS: gdb.mi/mi-watch.exp: hw: watchpoint trigger
testcase ../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-watch.exp completed in 4 seconds

=== gdb Summary ===

# of expected passes 13
# of unexpected successes 1
Executing on host: /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory --version (timeout = 300)
spawn /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory --version
GNU gdb (GDB) 7.10.50.20150720-cvs
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mips64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
/mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../../gdb/gdb version 7.10.50.20150720-cvs -nw -nx -data-directory /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/../data-directory

runtest completed at Mon Jul 20 14:07:05 2015