Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Brendan Kirby <brendan.kirby@imgtec.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: Simon Marchi <simon.marchi@polymtl.ca>, <gdb-patches@sourceware.org>
Subject: Re: MIPS build slave
Date: Mon, 20 Jul 2015 20:04:00 -0000	[thread overview]
Message-ID: <55AD543B.5010301@imgtec.com> (raw)
In-Reply-To: <87fv4kswuh.fsf@redhat.com>

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


On 07/18/2015 07:30 PM, Sergio Durigan Junior wrote:
> On Saturday, July 18 2015, Brendan Kirby wrote:
>
> Hi Brendan,
>
>> If I'm reading this right, it looks like it's trying to exec a file that
>> doesn't exist.  I think it's trying to exec:
>> /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/outputs/gdb.mi/mi-watch/mi-watch
> This file should exist, because it was correctly compiled before during
> the testcase run:
>
> 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/outputs/gdb.mi/mi-watch/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/outputs/gdb.mi/mi-watch/mi-watch
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

>
>> In fact, I'm not seeing any of the sub-directories either.  The first
>> directory I'm seeing is:
>> /mips/proj/build-compiler/upstream-testing/mipsswbrd048/GDB-testing/debian-mips-m64/build/gdb/testsuite/
> The debian-mips-m64 directory gets removed on every build, so depending
> on when you examine it you won't find the testsuite results there.
>
> My first advice would be to replicate what the BuildBot does to compile
> GDB, but on a temporary directory outside the buildslave's dir (so that
> you won't affect existing builds).  Feel free to stop your buildslave
> while doing the steps below, if you are afraid it's going to be too much
> for the poor hardware.
>
> For example, you can do:
>
>   ../binutils-gdb/configure --disable-binutils --disable-ld --disable-gold \
>    --disable-gas --disable-sim --disable-gprof --enable-targets=all --with-separate-debug-dir=/usr/lib/debug
>   make -j1 all
>   make -k check -j1 FORCE_PARALLEL=1 # see below before typing this
>
> Running the entire testsuite may be too much, so you can run only one
> test by doing:
>
>   make check RUNTESTFLAGS='gdb.mi/mi-watch.exp'
>
> That should give you/us some clues about what's going on.
>
> Thanks,
>


[-- Attachment #2: 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 12:57:57 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 #3: gdb.mi-mi-watch.exp.log --]
[-- Type: text/x-log; name="gdb.mi-mi-watch.exp.log", Size: 20571 bytes --]

Test Run By buildbot on Mon Jul 20 12:57:57 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="32703"
=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="32722"
=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 12:58:03 2015

  reply	other threads:[~2015-07-20 20:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18  4:15 Simon Marchi
2015-07-18  5:28 ` Brendan Kirby
2015-07-19  2:35   ` Sergio Durigan Junior
2015-07-20 20:04     ` Brendan Kirby [this message]
2015-07-20 20:45       ` Simon Marchi
2015-07-20 21:24         ` Brendan Kirby
2015-07-20 21:31           ` Simon Marchi
2015-07-20 21:05       ` Sergio Durigan Junior
     [not found]         ` <55AD8A7F.3080009@imgtec.com>
2015-07-21  0:14           ` Sergio Durigan Junior
2015-07-21  1:50             ` Brendan Kirby
2015-07-21  4:34               ` Sergio Durigan Junior
2015-07-21 14:57                 ` Simon Marchi
2015-07-21 16:38                   ` Brendan Kirby
2015-07-21 16:42                     ` Simon Marchi
2015-07-21 17:21                       ` Brendan Kirby
2015-07-21 17:43                         ` Simon Marchi
2015-07-23 11:20                           ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AD543B.5010301@imgtec.com \
    --to=brendan.kirby@imgtec.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sergiodj@redhat.com \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox