This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS build slave


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: build-with-SHELL.out
Description: Text document

Attachment: gdb.mi-mi-watch.exp.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]