Issue an internal warning on first deprecated function call

Eli Zaretskii eliz@is.elta.co.il
Thu Aug 22 00:49:00 GMT 2002


> Date: Wed, 21 Aug 2002 09:05:08 -0400
> From: "Carlos O'Donell" <carlos@baldric.uwo.ca>
> 
> > > What's wrong with making users scared?
> > 
> > It's wrong because GDB users cannot do anything about the problem, and
> > the message's language seems to imply it's a potentially very grave
> > problem (which it isn't).
> 
> It's not a grave problem? Please explain.

The warning was being considered for the case when GDB calls a
deprecated function.  As long as the deprecated function does its job,
a GDB user doesn't care about it being called.  We certainly should
not scare users in this case telling them something like "GDB will
likely crash in a moment; you HAVE been warned!".



More information about the Gdb mailing list