From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12948 invoked by alias); 29 Mar 2003 03:30:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12941 invoked from network); 29 Mar 2003 03:30:35 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 29 Mar 2003 03:30:35 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.12.8/8.12.8) with ESMTP id h2T3UY9T010738 for ; Fri, 28 Mar 2003 19:30:34 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Fri, 28 Mar 2003 19:30:27 -0800 Received: from apple.com (inghji.apple.com [17.201.22.240]) by scv1.apple.com (8.11.3/8.11.3) with ESMTP id h2T3UXt27077; Fri, 28 Mar 2003 19:30:34 -0800 (PST) Date: Sat, 29 Mar 2003 03:30:00 -0000 Subject: Re: gdb Digest 26 Mar 2003 19:03:48 -0000 Issue 1129 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: Andrew Cagney , gdb@sources.redhat.com To: Daniel Jacobowitz From: Jim Ingham In-Reply-To: <20030329005823.GA7072@nevyn.them.org> Message-Id: Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00401.txt.bz2 Like Daniel, I can see many useful cases where folks would want to manipulate the lower level breakpoints in some cases. Particularly templates, where you can imagine using the file:line location as the easiest way to specify the breakpoint (and with a GUI debugger the most obvious one). Then you might want to filter the list after it is set. Similarly, I might want to set a breakpoint on an inlined function ONLY in one shlib. So I break on the .h file, using file:line breakpoints, and then turn off the ones I don't want. It would be even nicer if physical breakpoints knew the objfile they were set in so I could filter on that... I'll try firing up Metrowerks on Monday and see what they do for Templates. I KNOW it is much better than gdb, 'cause I get told so every couple of days :-(, but I don't know what they do yet... Actually, it would also be nice if I could specify the objfile that the breakpoint is to be set in - this would be much more efficient than just trying it everywhere - especially when you are working under an IDE which KNOWS that the user set the breakpoint on a file that was built into the shared library foo.dylib... Jim On Friday, March 28, 2003, at 04:58 PM, Daniel Jacobowitz wrote: > On Fri, Mar 28, 2003 at 07:49:42PM -0500, Andrew Cagney wrote: >>> Either way, I think these are high-level table entries. The user >>> could >>>> certainly view the mapping: >>>> >>>> maint print breakpoint >>>> Breakpoint 1