[RFA, doc RFA] Change "set debug symtab-create" to accept verbosity levels

Tom Tromey tromey@redhat.com
Mon Sep 30 19:42:00 GMT 2013


>>>>> "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



More information about the Gdb-patches mailing list