Re: RFA/RFC: dump symtab and psymtab lists

Andrew Cagney
2003-04-15T15:49:12Z

> Andrew Cagney <ac131313@redhat.com> writes:
>
>> > How about 'maint show {,p}symtab'? That's consistent with the main
>> > 'show' command (which displays information about GDB's state), and has
>> > no conflicting precedent.
>
>>
>> No.
>>
>> `show' is for ``showing [and setting] things about the debugger'' -
>> show remote, show debug. Just ignore `set variable ...'.
>>
>> info is for ``showing things about the program being debugged]] - info
>> frame, info registers, info symbols
>>
>> There can be overlap between a `set/show' and `info', but I don't
>> think that occures here.
>
>
> So, you'd prefer "maint info {,p}symtabs", then?

It isn't a question of personal preference. `maint show' would be wrong.

`maint info ....'

appears to be the best fit.

> Existing commands:
> - info sources
> - info functions

Andrew