aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-10-22 16:47:27 -0600
committerTom Tromey <tom@tromey.com>2020-01-26 16:40:21 -0700
commit6d94535fc68e1fd06816c5685166ebcec56119ce (patch)
tree1d799652296048be6aa06b923cc4a2520bc653d6 /gdb/mdebugread.c
parent6f17252b76dbe8bedd32b6df6ce52af707bfb04b (diff)
downloadfsf-binutils-gdb-6d94535fc68e1fd06816c5685166ebcec56119ce.zip
fsf-binutils-gdb-6d94535fc68e1fd06816c5685166ebcec56119ce.tar.gz
fsf-binutils-gdb-6d94535fc68e1fd06816c5685166ebcec56119ce.tar.bz2
Change some psymtab fields to bool
This changes a few fields in partial_symtab to have type bool. gdb/ChangeLog 2020-01-26 Tom Tromey <tom@tromey.com> * xcoffread.c (xcoff_psymtab_to_symtab_1): Update. * psymtab.c (psym_print_stats): Update. * psympriv.h (struct partial_symtab) <readin, psymtabs_addrmap_supported, anonymous>: Now bool. * mdebugread.c (psymtab_to_symtab_1): Update. * dwarf2read.c (create_type_unit_group, create_partial_symtab) (build_type_psymtabs_reader, psymtab_to_symtab_1) (process_full_comp_unit, process_full_type_unit): Update. * dbxread.c (dbx_psymtab_to_symtab_1): Update. * ctfread.c (psymtab_to_symtab): Update. Change-Id: I206761d083493589049ea0bc785ed6542339234d
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 393a433..f28c0b2 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -3862,7 +3862,7 @@ psymtab_to_symtab_1 (struct objfile *objfile,
if (pst->readin)
return;
- pst->readin = 1;
+ pst->readin = true;
/* Read in all partial symtabs on which this one is dependent.
NOTE that we do have circular dependencies, sigh. We solved