Re: RFA/RFC: dump symtab and psymtab lists

Andrew Cagney
2003-04-10T02:10:33Z

> 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.

Some level of consistency with the rest of the CLI (which isn't easy).

> How about 'maint print symtabs [-matching REGEXP] [outfile]'?

maint grep <expression>
maint search <expression>

?
Andrew