Re: RFA/RFC: dump symtab and psymtab lists

Jim Blandy
2003-04-09T00:09:41Z

Andrew Cagney <ac131313@redhat.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]'?