This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA/RFC: dump symtab and psymtab lists
Andrew Cagney <ac131313 at redhat dot com> writes:
> >
> > Right, but that doesn't make sense for this command. It doesn't
> > produce so much output that it needs to be directed to a file ---
> > that's the reason the existing 'maint print' commands didn't suffice,
> > even though they include all the info the new commands do. And the
> > regexp is really helpful.
>
> Helpful or not, the proposed syntax intentionally introduces an
> unnecessary inconsistency into the CLI.
Could you suggest a way I can provide the utility I need, without
introducing an unnecessary inconsistency? I'm not sure what you're
looking for.
How about 'maint print symtabs [-matching REGEXP] [outfile]'?