This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]