From db0fec5c4881dc2e65eeba47cd574379c03a4cf4 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 8 Nov 2013 10:43:23 -0800 Subject: Change "set debug symtab-create" to take a verbosity level. * NEWS: Mention that "set debug symtab-create" now accepts a verbosity level. * buildsym.c (end_symtab_from_static_block): Call set_symtab_primary to set the symtab's primary flag. * jit.c (finalize_symtab): Ditto. * mdebugread.c (psymtab_to_symtab_1): Ditto. * symfile.c (allocate_symtab): Only print debugging messages for symtab_create_debug levels 2 and higher. * symtab.c (symtab_create_debug): Change type to unsigned int. (set_symtab_primary): New function. (_initialize_symtab): Change "set debug symtab-create" to a zuinteger option. * symtab.h (set_symtab_primary): Declare. (symtab_create_debug): Update decl. doc/ * gdb.texinfo (Debugging Output): Update text for "set debug symtab-create". --- gdb/mdebugread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mdebugread.c') diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 5549610..0e6109a 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -4334,7 +4334,7 @@ psymtab_to_symtab_1 (struct objfile *objfile, } pop_parse_stack (); - st->primary = 1; + set_symtab_primary (st, 1); sort_blocks (st); } -- cgit v1.1