From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24439 invoked by alias); 27 Jun 2013 19:05:49 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 24414 invoked by uid 48); 27 Jun 2013 19:05:49 -0000 From: "marc.khouzam at ericsson dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15693] New: Extra *running event when call-style dprintf hits Date: Thu, 27 Jun 2013 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marc.khouzam at ericsson dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00512.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15693 Bug ID: 15693 Summary: Extra *running event when call-style dprintf hits 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 which has the fix to Bug 15075, I'm seeing an un-expected *running event each time a dprintf is hit in the dprintf-style 'call'. Here is an cleaned up session showing the problem: > gdb.7.7 -i mi loopfirst =thread-group-added,id="i1" ~"GNU gdb (GDB) 7.6.50.20130627-cvs\n" (gdb) -dprintf-insert 8 "hello\n" ^done,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 \"hello\\n\""},original-location="/home/lmckhou/testing/loopfirst.cc:8"} (gdb) set dprintf-style call &"set dprintf-style call\n" =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={"call (void) printf (\\"hello\\\\n\\")"},original-location="/home/lmckhou/testing/loopfirst.cc:8"} =cmd-param-changed,param="dprintf-style",value="call" ^done (gdb) -exec-run =thread-group-started,id="i1",pid="6627" =thread-created,id="1",group-id="i1" ^running *running,thread-id="all" (gdb) [...] =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="1",script={"call (void) printf (\\"hello\\\\n\\")"},original-location="/home/lmckhou/testing/loopfirst.cc:8"} hello *running,thread-id="1" => we can see this extra *running event, which is not seen when using the 'gdb' dprintf-style. -- You are receiving this mail because: You are on the CC list for the bug.