From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20793 invoked by alias); 20 Oct 2006 14:29:43 -0000 Received: (qmail 20783 invoked by uid 22791); 20 Oct 2006 14:29:42 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 20 Oct 2006 14:29:36 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GavNN-0007P2-5F; Fri, 20 Oct 2006 10:29:33 -0400 Date: Fri, 20 Oct 2006 14:29:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Andrew STUBBS , gdb-patches@sourceware.org Subject: Re: [PATCH] Don't give spurious warnings when using thread specific breakpoints Message-ID: <20061020142933.GA28396@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Andrew STUBBS , gdb-patches@sourceware.org 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> <45374981.5080304@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00253.txt.bz2 On Fri, Oct 20, 2006 at 08:10:37AM +0200, Eli Zaretskii wrote: > > No, you misunderstand the code. There can be an arbitrary number > > breakpoints, each of which can have zero, one or two annotations, and > > they are all presented as one message. > > I was trying to give an example, so the question is: did I succeed to > explain how to resolve these issues? If not, please show me several > examples of the output that this code produces now, and I will modify > my counter-example accordingly. This is a construct which can not, to the best of my knowledge, be usefully translated. Which is a shame. Try this: (gdb) b main Breakpoint 1 at 0x439ee0 (gdb) b main Note: breakpoint 1 also set at pc 0x439ee0. Breakpoint 2 at 0x439ee0 (gdb) b main Note: breakpoints 1 and 2 also set at pc 0x439ee0. Breakpoint 3 at 0x439ee0 (gdb) disable 2 (gdb) b main Note: breakpoints 1, 2 (disabled) and 3 also set at pc 0x439ee0. Breakpoint 4 at 0x439ee0 -- Daniel Jacobowitz CodeSourcery