This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rename "info definitions"?


On Thu, Sep 29, 2011 at 3:54 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Thursday 29 September 2011 03:13:58, Matt Rice wrote:
>> +info macro [-all] [--] MACRO
>> + ?The info macro command has new options -all and --. The first or printing
>> + ?all definitions of a macro. ?The second for explicitly specifying the end
>> + ?of arguments and the beginning of the macro name.
>
> Why do we need [--]? ?MACROS can't start with `-', can they?

not in cpp macros or m4 at least,
lisp/scheme macros allow them i'm not sure what else may,
I don't think any of the languages gdb currently supports allow it,
but not positive

I figured someone would complain but at least there'd be a patch in
the archives...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]