This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression for gdb.mi/mi-nsintrall.exp [Re: [PATCH v4 3/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Tue, 23 Sep 2014 10:31:15 +0200
- Subject: Regression for gdb.mi/mi-nsintrall.exp [Re: [PATCH v4 3/3] Fix "breakpoint always-inserted off"; remove "breakpoint always-inserted auto"]
- Authentication-results: sourceware.org; auth=none
- References: <1410994028-24282-1-git-send-email-palves at redhat dot com> <1410994028-24282-4-git-send-email-palves at redhat dot com> <87r3z9zopi dot fsf at codesourcery dot com> <541C7E77 dot 6060704 at redhat dot com> <541E9E40 dot 8070308 at redhat dot com> <541FD33E dot 1050309 at codesourcery dot com> <541FE82C dot 5020004 at redhat dot com>
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)