Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: GDB Administrator <gdbadmin@sourceware.org>
Cc: gdb-patches@sourceware.org
Subject: Re: New ARI warning Tue Jan 21 01:52:58 UTC 2014
Date: Thu, 23 Jan 2014 06:02:00 -0000	[thread overview]
Message-ID: <20140123060229.GH4762@adacore.com> (raw)
In-Reply-To: <20140121015258.GA9519@sourceware.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


  reply	other threads:[~2014-01-23  6:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21  1:53 GDB Administrator
2014-01-23  6:02 ` Joel Brobecker [this message]
2014-01-23  6:18   ` Yao Qi
2014-01-23  7:14     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140123060229.GH4762@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdbadmin@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox