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


On Mon, 14 Apr 2003 14:52:29 -0400, Andrew Cagney <ac131313 at redhat dot com> said:

>> 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>'?

> Jim, did you see this point?

For what it's worth, the existing 'maint print' commands already break
this correspondence: 'print' doesn't send output to a file, but 'maint
print' does.  There might be some way of naming GDB's commands to
preserve this correspondence, to make the arguments consistent, and to
be easy to remember, but I think it will take a fair amount of
cleaning up.

David Carlton
carlton at math dot stanford dot edu


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