This is the mail archive of the gdb-patches@sourceware.org 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, doc RFA] Rename "maint check-symtabs" to "maint check-psymtabs"


On Tue, May 7, 2013 at 6:02 PM, Doug Evans <dje@google.com> wrote:
> Plus, when debugging gdb I'd like to be able to do "maint check-foo" *without*
> it changing gdb's state (e.g., resulting in more symtab expansion).
>
> So this patch does three things:
>
> 1) Rename "maint check-symtabs" to "maint check-psymtabs".
> 2) Add -n option to "maint check-psymtabs" to prevent symtab expansion.
> 3) Add "maint check-symtabs".

Another way to go, and I like this better,
is to add a command that expands symtabs (perhaps based on a regexp),
and then have "maint check-psymtabs" not do symtab expansion at all.
[I'd prefer it if "maint check-foo" always had a default behaviour of
no side effects.]


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