This is the mail archive of the gdb-patches@sources.redhat.com 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: RFA: add macro commands


> From: Jim Blandy <jimb@redhat.com>
> Date: Thu,  9 May 2002 18:58:22 -0500 (EST)
> 
> +   add_cmd
> +     ("expand", no_class, macro_expand_command,
> +      "Fully expand any C/C++ preprocessor macro invocations in EXPRESSION.\n"
> +      "Show the expanded expression.",
> +      &macrolist);

Do I understand correctly that this command definition, as well as
others you added in this patch, makes the command use the default
completion function?  If so, I'm not sure that's a good idea, unless
the tables scanned by make_symbol_completion_list store macro names.

It would be nice to have completion only on macro names in these
commands.  But if that cannot be done easily, at least let's disable
completion entirely until something appropriate is coded.


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