From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4088 invoked by alias); 21 Aug 2002 15:52:07 -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 4058 invoked from network); 21 Aug 2002 15:52:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 21 Aug 2002 15:52:03 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g7LFbel31864 for ; Wed, 21 Aug 2002 11:37:40 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g7LFq0u07783; Wed, 21 Aug 2002 11:52:00 -0400 Received: from romulus.sfbay.redhat.com (IDENT:svngXkvh4IlOrGeFmtKYZA8Wb5fVihm0@romulus.sfbay.redhat.com [172.16.27.251]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7LFpxe25122; Wed, 21 Aug 2002 08:51:59 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g7LFpvo29317; Wed, 21 Aug 2002 08:51:57 -0700 Date: Wed, 21 Aug 2002 08:52:00 -0000 From: Kevin Buettner Message-Id: <1020821155157.ZM29316@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: Issue an internal warning on first deprecated function call" (Aug 21, 11:21am) References: <3D5C248D.4030003@ges.redhat.com> <1020815223303.ZM7495@localhost.localdomain> <20020816133012.GC11845@systemhalted> <3D5D030F.4050409@ges.redhat.com> <9003-Sun18Aug2002213705+0300-eliz@is.elta.co.il> <3D619A15.1040504@ges.redhat.com> <20020820131725.GA4803@systemhalted> <7458-Wed21Aug2002093822+0300-eliz@is.elta.co.il> <20020821130508.GC17486@systemhalted> <3D63AFF8.30009@ges.redhat.com> To: Andrew Cagney , "Carlos O'Donell" Subject: Re: Issue an internal warning on first deprecated function call Cc: Eli Zaretskii , gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00247.txt.bz2 On Aug 21, 11:21am, Andrew Cagney wrote: > > It's not a grave problem? Please explain. > > Eli's right here. The warning would be to strong. > > internal-error and internal-warning refer to GDB detecting an errenous > internal state. Error for non-recoverable, warning for recoverable. > > Unless some action is taken, the long term prognosis doesn't look good. Wait a moment... You were going to use internal warnings to alert the users that a deprecated function has been called, right? I don't consider this to be an erroneous internal state that has to be recovered from. > However, short term, GDB could just as easily die due to a SIGSEG. It shouldn't so long as the gdb developers haven't broken the legacy functions that are being deprecated. (Unless it did before, but that's a different problem.) Kevin