diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/dwarf2/abbrev.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/dwarf2/abbrev.c')
-rw-r--r-- | gdb/dwarf2/abbrev.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/dwarf2/abbrev.c b/gdb/dwarf2/abbrev.c index 1ebf8f6..4e55cb4 100644 --- a/gdb/dwarf2/abbrev.c +++ b/gdb/dwarf2/abbrev.c @@ -61,8 +61,8 @@ eq_abbrev (const void *lhs, const void *rhs) abbrev_table::abbrev_table (sect_offset off, struct dwarf2_section_info *sect) : sect_off (off), section (sect), - m_abbrevs (htab_create_alloc (20, hash_abbrev, eq_abbrev, - nullptr, xcalloc, xfree)) + m_abbrevs (htab_create_alloc (20, hash_abbrev, eq_abbrev, nullptr, xcalloc, + xfree)) { } @@ -117,8 +117,7 @@ tag_interesting_for_index (dwarf_tag tag) /* Read in an abbrev table. */ abbrev_table_up -abbrev_table::read (struct dwarf2_section_info *section, - sect_offset sect_off) +abbrev_table::read (struct dwarf2_section_info *section, sect_offset sect_off) { bfd *abfd = section->get_bfd_owner (); const gdb_byte *abbrev_ptr; @@ -135,8 +134,8 @@ abbrev_table::read (struct dwarf2_section_info *section, { unsigned int bytes_read; /* Loop until we reach an abbrev number of 0. */ - unsigned int abbrev_number = read_unsigned_leb128 (abfd, abbrev_ptr, - &bytes_read); + unsigned int abbrev_number + = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); if (abbrev_number == 0) break; abbrev_ptr += bytes_read; @@ -181,8 +180,8 @@ abbrev_table::read (struct dwarf2_section_info *section, abbrev_ptr += bytes_read; if (cur_attr.form == DW_FORM_implicit_const) { - cur_attr.implicit_const = read_signed_leb128 (abfd, abbrev_ptr, - &bytes_read); + cur_attr.implicit_const + = read_signed_leb128 (abfd, abbrev_ptr, &bytes_read); abbrev_ptr += bytes_read; } else |