From: Tom Tromey <tromey@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: add_setshow_cmd_full
Date: Tue, 25 Jun 2002 22:12:00 -0000 [thread overview]
Message-ID: <873cvahaqt.fsf@fleche.redhat.com> (raw)
In-Reply-To: <3D192849.3080904@cygnus.com>
>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> Please be careful to configure GDB with
Andrew> --enable-gdb-build-warnings=,-Werror so that it is compiled
Andrew> with the -Werror flag.
Thanks for catching this. I'm rebuilding with that right now; I wired
it into my standard build script so I won't make this mistake again.
Andrew> Don't forget to remove they stray declaration:
>> +extern struct cmd_list_element *add_setshow_cmd (char *name,
>> + enum command_class class,
>> + var_types var_type, void *var,
>> + char *set_doc, char *show_doc,
Andrew> from the change.
That declaration is part of the change, since I wanted to make
add_setshow_cmd public, and add add_setshow_cmd_full as well. The
latter is only used in a few places.
Would you prefer I use add_setshow_cmd_full everywhere, and just have
90% of the calls have `NULL, NULL' at the end? I can do that...
Tom
next prev parent reply other threads:[~2002-06-26 5:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 13:40 Tom Tromey
2002-06-25 19:35 ` Andrew Cagney
2002-06-25 22:12 ` Tom Tromey [this message]
2002-06-26 7:40 ` Andrew Cagney
2002-06-26 10:56 ` Tom Tromey
2002-06-26 12:54 ` Andrew Cagney
2002-06-25 22:05 ` Eli Zaretskii
2002-06-25 22:13 ` Tom Tromey
2002-06-26 11:23 ` Tom Tromey
2002-06-26 11:46 ` Eli Zaretskii
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=873cvahaqt.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
/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