From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17957 invoked by alias); 26 Sep 2002 20:55:08 -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 17944 invoked from network); 26 Sep 2002 20:55:06 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 26 Sep 2002 20:55:06 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id g8QKdfH15388; Thu, 26 Sep 2002 15:39:41 -0500 To: Eli Zaretskii Cc: Peter Jay Salzman , Gdb Mailing List Subject: Re: rules for conditional breakpoints References: From: Jim Blandy Date: Thu, 26 Sep 2002 13:55:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00452.txt.bz2 Eli Zaretskii writes: > On Wed, 25 Sep 2002, Peter Jay Salzman wrote: > > > what exactly are the rules for conditional breakpoints? > > If that's not clear from reading the manual, I think we should fix the > manual. The expressions allowed in conditional breakpoints are exactly those allowed in "print". Peter assumed that the restriction had something to do with conditional breakpoints, but that's not so. The manual's description of conditional breakpoints is perfectly clear. What should be clarified, I think, is the description of expressions. I seem to remember issues like this having come up before. I'd suggest putting a clarification in ``Expressions'', pointing out that, while GDB *can* reference variables and call functions for which it has no debug info, it assumes they're `int' and `int () (int)'. When that's wrong, one should expect the ensuing problems. I'm too drowsy to suggest any decent wording at the moment. Sorry.