From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28355 invoked by alias); 10 Dec 2005 15:57:45 -0000 Received: (qmail 28348 invoked by uid 22791); 10 Dec 2005 15:57:44 -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; Sat, 10 Dec 2005 15:57:43 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1El76T-0002PI-2F for gdb@sourceware.org; Sat, 10 Dec 2005 10:57:41 -0500 Date: Sat, 10 Dec 2005 15:57:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: Watchpoint segfaults Message-ID: <20051210155740.GA9227@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org References: <20051209195811.GA19885@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i 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: 2005-12/txt/msg00117.txt.bz2 On Sat, Dec 10, 2005 at 10:31:02AM +0200, Eli Zaretskii wrote: > > Date: Fri, 9 Dec 2005 14:58:11 -0500 > > From: Daniel Jacobowitz > > > > I think we want to temporarily disable breakpoints whose expression can't be > > parsed > > I agree. But perhaps instead of just disabling it we should display > some warning the first time we find that we are unable to parse its > expression. That sounds like a good idea. We should also try to re-parse it at any available opportunity, e.g. when the symbol table changes. This'll take a little work to get right. > > and print it as a string rather than using the expression printer. > > Print it where? in the table displayed by "info breakpoints" or > equivalent commands? Or do you have some other situation in mind? Sorry, yes, I was referring to the "info breakpoints" segfault. Basically someone's going to have to go through and audit the uses of ->exp. -- Daniel Jacobowitz CodeSourcery, LLC