RFA/RFC: dump symtab and psymtab lists
David Carlton
carlton@math.stanford.edu
Mon Apr 14 19:05:00 GMT 2003
On Mon, 14 Apr 2003 14:52:29 -0400, Andrew Cagney <ac131313@redhat.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@math.stanford.edu
More information about the Gdb-patches
mailing list