This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Tue Jan 21 01:52:58 UTC 2014
- From: Yao Qi <yao at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: GDB Administrator <gdbadmin at sourceware dot org>, <gdb-patches at sourceware dot org>
- Date: Thu, 23 Jan 2014 14:16:12 +0800
- Subject: Re: New ARI warning Tue Jan 21 01:52:58 UTC 2014
- Authentication-results: sourceware.org; auth=none
- References: <20140121015258 dot GA9519 at sourceware dot org> <20140123060229 dot GH4762 at adacore dot com>
On 01/23/2014 02:02 PM, Joel Brobecker wrote:
> Does anyone understand this violation?
>
> This is what the declaration in cli/cli-decode.h looks like:
>
> /* The user needs to be warned that this is a deprecated command.
> The user should only be warned the first time a command is
> used. */
>
> unsigned int deprecated_warn_user : 1;
>
> This bit is set when a command is deprecated via deprecate_cmd,
> and seems to be an integral part of how we manage deprecated
> commands.
>
> So I'm wondering if the warning may have been about something else?
> Or maybe I'm missing something?
I am not familiar with ARI, but looks like it is a false alarm of
deprecated rule. ARI thinks "deprecated_warn_user" is a deprecated
"warn_user", but it isn't.
--
Yao (éå)