From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13387 invoked by alias); 24 Apr 2013 01:22:00 -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 13351 invoked by uid 48); 24 Apr 2013 01:22:00 -0000 From: "teawater at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15180] Agent style dprintf does not respect conditions Date: Wed, 24 Apr 2013 01:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: teawater at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: teawater at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-q2/txt/msg00134.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15180 --- Comment #3 from teawater 2013-04-24 01:21:59 UTC --- (In reply to comment #2) > http://sourceware.org/ml/gdb-patches/2013-04/msg00690.html After patch the patch, still have bug with 2 dprintf: (gdb) !cat 1 dprintf /home/teawater/gdb/bgdbno/gdb/2.c:8,"1:i is %d\n",i condition $bpnum i>5 dprintf /home/teawater/gdb/bgdbno/gdb/2.c:8,"2:i is %d\n",i condition $bpnum i>6 gdbserver/gdbserver :1234 ./a.out Process ./a.out created; pid = 6571 Listening on port 1234 Remote debugging from host 127.0.0.1 hellofriend 2:i is 0 1:i is 0 2:i is 0 home hellofriend 2:i is 1 1:i is 1 2:i is 1 home hellofriend 2:i is 2 1:i is 2 2:i is 2 home hellofriend 2:i is 3 1:i is 3 2:i is 3 home hellofriend 2:i is 4 1:i is 4 2:i is 4 home hellofriend 2:i is 5 1:i is 5 2:i is 5 home hellofriend 2:i is 6 1:i is 6 2:i is 6 home hellofriend 2:i is 7 1:i is 7 2:i is 7 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.