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:
> > 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?
Existing commands:
- info sources
- info functions