From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2329 invoked by alias); 20 Aug 2002 01:23:36 -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 2247 invoked from network); 20 Aug 2002 01:23:36 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 20 Aug 2002 01:23:36 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 29A693ED2; Mon, 19 Aug 2002 21:23:33 -0400 (EDT) Message-ID: <3D619A15.1040504@ges.redhat.com> Date: Mon, 19 Aug 2002 18:23:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eli Zaretskii Cc: carlos@baldric.uwo.ca, gdb@sources.redhat.com Subject: Re: Issue an internal warning on first deprecated function call 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00219.txt.bz2 >> Date: Fri, 16 Aug 2002 09:50:07 -0400 >> From: Andrew Cagney >> >> (gdb) maint internal-error >> /home/scratch/GDB/src/gdb/maint.c:121: gdb-internal-error: internal >> maintenance >> An internal GDB error was detected. This may make further >> debugging unreliable. Quit this debugging session? (y or n) n >> >> Create a core file containing the current state of GDB? (y or n) n >> (gdb) >> >> s/error/warning/ >> >> Since the user is going to need to interact with this, they will get >> very annoyed with it pretty quick. > > > Yes, I think users will get annoyed and even scared. The message is > meant for the port maintainers, not for users. Another option is, by default, have the message disabled. Only enable it when in say maintainer-mode or while running the testsuite. >> This is why I'm also proposing another command for gaging it :-) > > > But that won't help, since most users will wtill see the message > until they gag it. > > I like Kevin's suggestion better. My intent was for the message to only appear once. enjoy, Andrew