Re: RFA/RFC: dump symtab and psymtab lists

Andrew Cagney
2003-04-10T21:49:22Z

> Andrew Cagney <ac131313@redhat.com> writes:
>
>> > 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>
>
>
> Okay, here's a revised patch that calls them "maint list {,p}symtab".

Unfortunatly, there is `(gdb) list' command, so one would expect a
certain level of correspondance between `(gdb) list' and `(gdb maint
list'. This is like `(gdb) info breakpoints' vs `(gdb) maint info
breakpoints'.

This also rules out my `maint search' suggestion :-(
`maint query <db> <query>'?

> Perhaps commands that produce so much output that they need to be able
> to send it to a file should be renamed to "maint dump"?

True.

Andrew