public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15694] New: Extra =breakpoint-modified events at startup when using dprintf
@ 2013-06-27 19:14 marc.khouzam at ericsson dot com
2013-06-27 20:31 ` [Bug breakpoints/15694] " marc.khouzam at ericsson dot com
0 siblings, 1 reply; 2+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-06-27 19:14 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15694
Bug ID: 15694
Summary: Extra =breakpoint-modified events at startup when
using dprintf
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: marc.khouzam at ericsson dot com
With HEAD of June 27, when I set a dprintf before starting the execution of the
inferior, I see 4 unexpected =breakpoint-modified events for each such dprintf,
when starting the inferior. These events seem identical and don't seem
necessary.
Session showing the events:
> gdb.7.7 -i mi loopfirst
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.6.50.20130627-cvs\n"
(gdb) dprintf 8,"h"
&"dprintf 8,\"h\"\n"
~"Dprintf 1 at 0x400570: file loopfirst.cc, line 8.\n"
=breakpoint-created,bkpt={number="1",type="dprintf",disp="keep",enabled="y",addr="0x0000000000400570",func="main()",file="loopfirst.cc",fullname="/home/lmckhou/testing/loopfirst.cc",line="8",thread-groups=["i1"],times="0",script={"printf
\\"h\\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"}
^done
(gdb) r
&"r\n"
~"Starting program: /home/lmckhou/loopfirst \n"
=thread-group-started,id="i1",pid="6709"
=thread-created,id="1",group-id="i1"
^running
*running,thread-id="all"
(gdb)
=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="1",type="dprintf",disp="keep",enabled="y",addr="0x0000000000400570",func="main()",file="loopfirst.cc",fullname="/home/lmckhou/testing/loopfirst.cc",line="8",thread-groups=["i1"],times="0",script={"printf
\\"h\\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"}
=breakpoint-modified,bkpt={number="1",type="dprintf",disp="keep",enabled="y",addr="0x0000000000400570",func="main()",file="loopfirst.cc",fullname="/home/lmckhou/testing/loopfirst.cc",line="8",thread-groups=["i1"],times="0",script={"printf
\\"h\\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"}
=breakpoint-modified,bkpt={number="1",type="dprintf",disp="keep",enabled="y",addr="0x0000000000400570",func="main()",file="loopfirst.cc",fullname="/home/lmckhou/testing/loopfirst.cc",line="8",thread-groups=["i1"],times="0",script={"printf
\\"h\\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"}
=library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1"
=breakpoint-modified,bkpt={number="1",type="dprintf",disp="keep",enabled="y",addr="0x0000000000400570",func="main()",file="loopfirst.cc",fullname="/home/lmckhou/testing/loopfirst.cc",line="8",thread-groups=["i1"],times="0",script={"printf
\\"h\\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"}
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug breakpoints/15694] Extra =breakpoint-modified events at startup when using dprintf
2013-06-27 19:14 [Bug breakpoints/15694] New: Extra =breakpoint-modified events at startup when using dprintf marc.khouzam at ericsson dot com
@ 2013-06-27 20:31 ` marc.khouzam at ericsson dot com
0 siblings, 0 replies; 2+ messages in thread
From: marc.khouzam at ericsson dot com @ 2013-06-27 20:31 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15694
--- Comment #1 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
Note that this bug could become invalid if we remove the =breakpoint-modified
event for dprintf hits as suggested in Bug 15697
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-27 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 19:14 [Bug breakpoints/15694] New: Extra =breakpoint-modified events at startup when using dprintf marc.khouzam at ericsson dot com
2013-06-27 20:31 ` [Bug breakpoints/15694] " marc.khouzam at ericsson dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).