[gdb/symtab] Fix two style issues in gdb/dwarf2/index-write.c
authorTom de Vries <tdevries@suse.de>
Wed, 18 Oct 2023 05:45:39 +0000 (07:45 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 18 Oct 2023 05:45:39 +0000 (07:45 +0200)
While reviewing gdb/dwarf2/index-write.c I noticed two style issues.

Fix these.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/index-write.c

index 6a21af80c3fd03d36783408df040f4fe4535668d..bac4a6c69348ee41e1935b0c458916ab3adc4557 100644 (file)
@@ -1300,8 +1300,8 @@ write_gdbindex (dwarf2_per_bfd *per_bfd, cooked_index *table,
   data_buf shortcuts;
   write_shortcuts_table (table, shortcuts, constant_pool);
 
-  write_gdbindex_1(out_file, objfile_cu_list, types_cu_list, addr_vec,
-                  symtab_vec, constant_pool, shortcuts);
+  write_gdbindex_1 (out_file, objfile_cu_list, types_cu_list, addr_vec,
+                   symtab_vec, constant_pool, shortcuts);
 
   if (dwz_out_file != NULL)
     write_gdbindex_1 (dwz_out_file, dwz_cu_list, {}, {}, {}, {}, {});
@@ -1575,7 +1575,7 @@ save_gdb_index_command (const char *arg, int from_tty)
                                 _("Error while writing index for `%s': "),
                                 objfile_name (objfile));
            }
-           }
+       }
 
     }
 }