From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4691 invoked by alias); 19 Oct 2006 04:17:36 -0000 Received: (qmail 4680 invoked by uid 22791); 19 Oct 2006 04:17:35 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Oct 2006 04:17:33 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-204-114.inter.net.il [84.229.204.114]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GAP32711 (AUTH halo1); Thu, 19 Oct 2006 06:17:28 +0200 (IST) Date: Thu, 19 Oct 2006 04:17:00 -0000 Message-Id: From: Eli Zaretskii To: Andreas Schwab CC: andrew.stubbs@st.com, gdb-patches@sourceware.org In-reply-to: (message from Andreas Schwab on Wed, 18 Oct 2006 22:20:40 +0200) Subject: Re: [PATCH] Don't give spurious warnings when using thread specific breakpoints Reply-to: Eli Zaretskii References: <452CF534.4060209@st.com> <20061011135545.GA26060@nevyn.them.org> <452D0385.6010103@st.com> <20061011204525.GA9622@nevyn.them.org> <45361793.1020202@st.com> <20061018141419.GA7771@nevyn.them.org> <4536444C.9020709@st.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00238.txt.bz2 > From: Andreas Schwab > Cc: Andrew STUBBS , gdb-patches@sourceware.org > Date: Wed, 18 Oct 2006 22:20:40 +0200 > > > > ALL_BREAKPOINTS (b) > > if (b->loc->address == pc) /* address match / overlay match */ > > if (!b->pending && (!overlay_debugging || b->loc->section == section)) > > { > > others--; > > if (others == 1 && > > (b->enable_state == bp_disabled || > > b->enable_state == bp_shlib_disabled || > > b->enable_state == bp_call_disabled)) > > printf_filtered (_("Note: breakpoint %d (disabled) also set at pc "), > > That won't work either. Some languages (notably German) need to put the > verb at the end of the sentence in such a case. Yes, for better results the following call to deprecated_print_address_numeric should be made a part of the message (as a format specifier, for example, or concatenated string).