This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Rename "info definitions"?
- From: Matt Rice <ratmice at gmail dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 21 Sep 2011 12:33:44 -0700
- Subject: Re: Rename "info definitions"?
- References: <20110921190419.542512461A9@ruffy.mtv.corp.google.com>
On Wed, Sep 21, 2011 at 12:04 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> I was wondering if it's not too late to rename "info definitions",
> or better delete it and enhance "info macros" to replace it.
> I look at "info definitions" and think "Definitions of what? ?That could be
> anything." and then I find out what it refers to, look at both
> "info macros" and "info definitions", and wish I didn't have to
> think about when to use which one.
>
IMO not too late since its never hit a tar ball
in fact I'd tried to merge info macros/info definitions but the
resulting command would have 2 optional arguments, and be fairly
difficult to comprehend.
now that I think about it maybe add an optional arg to 'info macro'
replace `info definitions MACRO' with 'info macro -all MACRO' ?