From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29301 invoked by alias); 10 Dec 2005 19:38:00 -0000 Received: (qmail 29294 invoked by uid 22791); 10 Dec 2005 19:38:00 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 10 Dec 2005 19:37:59 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HFO05375; Sat, 10 Dec 2005 21:37:51 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-84-228-166-206.inter.net.il [84.228.166.206]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CEO83153 (AUTH halo1); Sat, 10 Dec 2005 21:37:50 +0200 (IST) Date: Sat, 10 Dec 2005 19:38:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sourceware.org In-reply-to: <20051210155740.GA9227@nevyn.them.org> (message from Daniel Jacobowitz on Sat, 10 Dec 2005 10:57:41 -0500) Subject: Re: Watchpoint segfaults Reply-to: Eli Zaretskii References: <20051209195811.GA19885@nevyn.them.org> <20051210155740.GA9227@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: 2005-12/txt/msg00120.txt.bz2 > Date: Sat, 10 Dec 2005 10:57:41 -0500 > From: Daniel Jacobowitz > > > 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. A new flag in the watchpoint expression structure? > Basically someone's going to have to go through and audit the uses of > ->exp. Right.