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]

Regression for gdb.mi/mi-nsintrall.exp [Re: [PATCH v4 3/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"]


On Mon, 22 Sep 2014 11:13:16 +0200, Pedro Alves wrote:
> Below's what I pushed for this patch.

a25a5a45ef9340eb9a435f9b70599a90bb142658 is the first bad commit
commit a25a5a45ef9340eb9a435f9b70599a90bb142658
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Sep 22 09:56:55 2014 +0100
    Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"

Tested in gdbserver mode with gdb.mi/mi-nsintrall.exp on Fedora 20 x86_64.

It FAILs under 10 runs.


Jan


 PASS: gdb.mi/mi-nsintrall.exp: stop 4
 mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="keep",bkptno="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="thread_function",args=\[[^
 ]*\],(?:file="[^
 ]*nsintrall.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\)nsintrall.c",line="[0-9]*"|from="nsintrall.c")},thread-id="[0-9]+",stopped-threads=[^
 ]*^M
 (=thread-selected,id="[0-9]+"^M
 |=(?:breakpoint-created|breakpoint-deleted)[^
 ]+"^M
 )*
-=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040077a",func="thread_function",file="./gdb.mi/nsintrall.c",fullname="/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.mi/nsintrall.c",line="52",thread-groups=["i1"],times="6",original-location="thread_function"}^M
-~"\nBreakpoint "^M
-~"2, thread_function (arg=0x0) at ./gdb.mi/nsintrall.c:52\n"^M
+=thread-created,id="6",group-id="i1"^M
+~"[New Thread 1120]\n"^M
+~"\nProgram received signal "^M
+~"SIGTRAP, Trace/breakpoint trap.\n"^M
+~"0x000000000040077b in thread_function (arg=0x5) at ./gdb.mi/nsintrall.c:52\n"^M
 ~"52\t    int my_number =  (long) arg;\n"^M
-*stopped,reason="breakpoint-hit",disp="keep",bkptno="2",frame={addr="0x000000000040077a",func="thread_function",args=[{name="arg",value="0x0"}],file="./gdb.mi/nsintrall.c",fullname="/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.mi/nsintrall.c",line="52"},thread-id="1",stopped-threads=["1"],core="4"^M
-PASS: gdb.mi/mi-nsintrall.exp: stop 5
+*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x000000000040077b",func="thread_function",args=[{name="arg",value="0x5"}],file="./gdb.mi/nsintrall.c",fullname="/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.mi/nsintrall.c",line="52"},thread-id="6",stopped-threads=["6"],core="7"^M
+FAIL: gdb.mi/mi-nsintrall.exp: stop 5 (timeout)


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