From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16603 invoked by alias); 21 Mar 2013 17:24:19 -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 16578 invoked by uid 48); 21 Mar 2013 17:24:19 -0000 From: "marc.khouzam at ericsson dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15293] New: Ignore-count does not work properly with dprintf Date: Thu, 21 Mar 2013 17:24: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-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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q1/txt/msg00489.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15293 Bug #: 15293 Summary: Ignore-count does not work properly with dprintf Product: gdb Version: 7.5 Status: NEW Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned@sourceware.org ReportedBy: marc.khouzam@ericsson.com Classification: Unclassified Ignore-count and dprintf does not work. The same wrong behavior as with conditions can be seen as shown in Bug 15179 > gdb.7.5 loopfirst GNU gdb (GDB) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/lmckhou/loopfirst...done. (gdb) l 1 #include 2 #include 3 4 int main() { 5 int max = 90; 6 for (int i=0;i