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 6:28 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Thursday 29 September 2011 14:26:19, Pedro Alves wrote:
>> We could just add it back if we ever find a need though.
>> If a language needing it for macros would require adding more
>> such switches to other commands.
>
> Err, I meant, "I suspect a language needing it for macros would
> require adding more such switches to other commands."

None of the other macro commands accept options, they just interpret
the entire string as a
name currently, so this is a new form of c-ism

I think all that would be required is just turning the macro printing
formatters into language based callbacks, and the macro expansion
parser into language based callbacks.

but who knows what you would run into if you actually tried.


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