From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20305 invoked by alias); 17 Feb 2006 19:59:12 -0000 Received: (qmail 20296 invoked by uid 22791); 17 Feb 2006 19:59:12 -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; Fri, 17 Feb 2006 19:59:08 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-152-98.inter.net.il [80.230.152.98]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DOW60920 (AUTH halo1); Fri, 17 Feb 2006 21:59:05 +0200 (IST) Date: Fri, 17 Feb 2006 20:02:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus , gdb@sources.redhat.com In-reply-to: <20060217194426.GA28988@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 17 Feb 2006 14:44:26 -0500) Subject: Re: MI: reporting of multiple breakpoints Reply-to: Eli Zaretskii References: <20060217153211.GA21402@nevyn.them.org> <20060217194426.GA28988@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00202.txt.bz2 > Date: Fri, 17 Feb 2006 14:44:26 -0500 > From: Daniel Jacobowitz > Cc: Vladimir Prus , gdb@sources.redhat.com > > > Does anyone know why we return PRINT_SRC_AND_LOC for breakpoints? > > That's how we get the source line printed when we stop, isn't it? Well, then perhaps the question is why does bpstat_print exits the loop when it sees PRINT_SRC_AND_LOC: for (; bs; bs = bs->next) { val = print_bp_stop_message (bs); if (val == PRINT_SRC_ONLY || val == PRINT_SRC_AND_LOC || val == PRINT_NOTHING) return val; }