From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26794 invoked by alias); 17 Jan 2008 14:26:39 -0000 Received: (qmail 26784 invoked by uid 22791); 17 Jan 2008 14:26:38 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Jan 2008 14:26:19 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 247D998297; Thu, 17 Jan 2008 14:26:17 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id DF1649801D; Thu, 17 Jan 2008 14:26:16 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JFVh9-0002R1-8p; Thu, 17 Jan 2008 09:26:15 -0500 Date: Thu, 17 Jan 2008 14:26:00 -0000 From: Daniel Jacobowitz To: Markus Deuling Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [RFA] new set/show multiple-choice-auto-select commands (take 2) Message-ID: <20080117142615.GA8662@caradoc.them.org> Mail-Followup-To: Markus Deuling , Joel Brobecker , gdb-patches@sourceware.org References: <20080116135551.GE20837@adacore.com> <478EF71D.4060007@de.ibm.com> <20080117102621.GB28020@adacore.com> <478F3E4B.6050005@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478F3E4B.6050005@de.ibm.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00443.txt.bz2 On Thu, Jan 17, 2008 at 12:38:51PM +0100, Markus Deuling wrote: > I implemented this behavior originally for the Cell BE combined > debugger. Cell BE has binaries consisting of PowerPC- and > SPU-code. If there is a symbol foo in both the PowerPC- and the > SPU-part then GDB would always resolve the foo symbol from PowerPC > (main executable) file no matter if it stands in a "SPU thread" or > not. GDB recognizes SPU binaries as shared libraries. Why shouldn't GDB default to setting both breakpoints... like we do for template functions now? At least, I thought that was the point of all Vlad's work on breakpoints in the past year. If you want something more specific you can adjust the multiple-location breakpoint. I am concerned that we now have too many different places where we have multiple symbols and breakpoints and we're handling them all differently. -- Daniel Jacobowitz CodeSourcery