aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-11-08 10:43:23 -0800
committerDoug Evans <dje@google.com>2013-11-08 10:49:44 -0800
commitdb0fec5c4881dc2e65eeba47cd574379c03a4cf4 (patch)
tree1fb58d55d854ef64f7e9c1587d4215c0859ba5d7 /gdb/jit.c
parent* Makefile.in: Regenerate. (diff)
downloadbinutils-gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.tar.gz
binutils-gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.tar.bz2
binutils-gdb-db0fec5c4881dc2e65eeba47cd574379c03a4cf4.zip
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".
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index ba0be5e440e..3daa9faa0fc 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -665,7 +665,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
/* (begin, end) will contain the PC range this entire blockvector
spans. */
- symtab->primary = 1;
+ set_symtab_primary (symtab, 1);
BLOCKVECTOR_MAP (symtab->blockvector) = NULL;
begin = stab->blocks->begin;
end = stab->blocks->end;