This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA, doc RFA] Change "set debug symtab-create" to accept verbosity levels
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Mon, 30 Sep 2013 13:42:48 -0600
- Subject: Re: [RFA, doc RFA] Change "set debug symtab-create" to accept verbosity levels
- Authentication-results: sourceware.org; auth=none
- References: <yjt2ioxlal9x dot fsf at ruffy dot mtv dot corp dot google dot com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> 2013-09-27 Doug Evans <dje@google.com>
Doug> * NEWS: Mention that "set debug symtab-create" now accepts a
Doug> verbosity level.
Doug> * buildsym.c (end_symtab_from_static_block): Call set_symtab_primary
Doug> to set the symtab's primary flag.
Doug> * jit.c (finalize_symtab): Ditto.
Doug> * mdebugread.c (psymtab_to_symtab_1): Ditto.
Doug> * symfile.c (allocate_symtab): Only print debugging messages for
Doug> symtab_create_debug levels 2 and higher.
Doug> * symtab.c (symtab_create_debug): Change type to unsigned int.
Doug> (set_symtab_primary): New function.
Doug> (_initialize_symtab): Change "set debug symtab-create" to a
Doug> zuinteger option.
Doug> * symtab.h (set_symtab_primary): Declare.
Doug> (symtab_create_debug): Update decl.
Looks fine to me.
Tom