diff options
author | Tom Tromey <tom@tromey.com> | 2023-11-10 15:52:19 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-08 18:40:21 -0700 |
commit | a37fbcfec5a2f6ac7ccaf508b445f313a55ab7e0 (patch) | |
tree | 638af193748831b58f3af40b9e7b3fabecdd7e5a /gdb/dwarf2/read-debug-names.c | |
parent | 3c2f688e70997bcdc856578adbed492a0b581fa9 (diff) | |
download | gdb-a37fbcfec5a2f6ac7ccaf508b445f313a55ab7e0.zip gdb-a37fbcfec5a2f6ac7ccaf508b445f313a55ab7e0.tar.gz gdb-a37fbcfec5a2f6ac7ccaf508b445f313a55ab7e0.tar.bz2 |
Pre-read DWZ section data
This changes the DWZ code to pre-read the section data and somewhat
simplify the DWZ API. This makes it easier to add the bfd_cache_close
call to the new dwarf2_read_dwz_file function -- after this is done,
there shouldn't be a reason to keep the BFD's file descriptor open.
Diffstat (limited to 'gdb/dwarf2/read-debug-names.c')
-rw-r--r-- | gdb/dwarf2/read-debug-names.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/read-debug-names.c b/gdb/dwarf2/read-debug-names.c index 59c49da..e912c2a 100644 --- a/gdb/dwarf2/read-debug-names.c +++ b/gdb/dwarf2/read-debug-names.c @@ -467,7 +467,7 @@ dwarf2_read_debug_names (dwarf2_per_objfile *per_objfile) } } - create_all_units (per_objfile, false); + create_all_units (per_objfile); if (!check_cus_from_debug_names (per_bfd, *map, dwz_map)) { per_bfd->all_units.clear (); |