This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA, doc RFA] Rename "maint check-symtabs" to "maint check-psymtabs"
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 7 May 2013 19:25:12 -0700
- Subject: Re: [RFA, doc RFA] Rename "maint check-symtabs" to "maint check-psymtabs"
- References: <yjt2zjw6xozg dot fsf at ruffy2 dot mtv dot corp dot google dot com>
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.]