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: Joel Brobecker <brobecker at adacore dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 23 Jan 2014 10:02:29 +0400
- 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>
> > gdb/cli/cli-decode.c:1402: deprecated: deprecated warn_user: Do not use deprecated warn_user, see declaration for details
> gdb/cli/cli-decode.c:1402: if (found->deprecated_warn_user)
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?
Thanks,
--
Joel