mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
[gdb/symtab] Fix indentation in create_cus_from_debug_names_list
Fix indentation in !map.augmentation_is_gdb part of create_cus_from_debug_names_list. gdb/ChangeLog: 2021-02-05 Tom de Vries <tdevries@suse.de> * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2021-02-05 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
|
* dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
|
||||||
|
|
||||||
2021-02-04 Mike Frysinger <vapier@gentoo.org>
|
2021-02-04 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* configure.tgt (riscv*-*-*): Set gdb_sim.
|
* configure.tgt (riscv*-*-*): Set gdb_sim.
|
||||||
|
@ -5333,21 +5333,23 @@ create_cus_from_debug_names_list (dwarf2_per_bfd *per_bfd,
|
|||||||
{
|
{
|
||||||
if (!map.augmentation_is_gdb)
|
if (!map.augmentation_is_gdb)
|
||||||
{
|
{
|
||||||
for (uint32_t i = 0; i < map.cu_count; ++i)
|
for (uint32_t i = 0; i < map.cu_count; ++i)
|
||||||
{
|
{
|
||||||
sect_offset sect_off
|
sect_offset sect_off
|
||||||
= (sect_offset) (extract_unsigned_integer
|
= (sect_offset) (extract_unsigned_integer
|
||||||
(map.cu_table_reordered + i * map.offset_size,
|
(map.cu_table_reordered + i * map.offset_size,
|
||||||
map.offset_size,
|
map.offset_size,
|
||||||
map.dwarf5_byte_order));
|
map.dwarf5_byte_order));
|
||||||
/* We don't know the length of the CU, because the CU list in a
|
/* We don't know the length of the CU, because the CU list in a
|
||||||
.debug_names index can be incomplete, so we can't use the start of
|
.debug_names index can be incomplete, so we can't use the start
|
||||||
the next CU as end of this CU. We create the CUs here with length 0,
|
of the next CU as end of this CU. We create the CUs here with
|
||||||
and in cutu_reader::cutu_reader we'll fill in the actual length. */
|
length 0, and in cutu_reader::cutu_reader we'll fill in the
|
||||||
dwarf2_per_cu_data *per_cu
|
actual length. */
|
||||||
= create_cu_from_index_list (per_bfd, §ion, is_dwz, sect_off, 0);
|
dwarf2_per_cu_data *per_cu
|
||||||
per_bfd->all_comp_units.push_back (per_cu);
|
= create_cu_from_index_list (per_bfd, §ion, is_dwz,
|
||||||
}
|
sect_off, 0);
|
||||||
|
per_bfd->all_comp_units.push_back (per_cu);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sect_offset sect_off_prev;
|
sect_offset sect_off_prev;
|
||||||
|
Reference in New Issue
Block a user