aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-10-18 07:45:39 +0200
committerTom de Vries <tdevries@suse.de>2023-10-18 07:45:39 +0200
commit8bb3d8b1f9016b9506d4407ac0be2738834dc0bd (patch)
tree292fb88798bdff9e23144ff336cf3facca47030f /gdb
parent729d06679453542eee92e16b45aee00aa67f9a13 (diff)
downloadgdb-8bb3d8b1f9016b9506d4407ac0be2738834dc0bd.zip
gdb-8bb3d8b1f9016b9506d4407ac0be2738834dc0bd.tar.gz
gdb-8bb3d8b1f9016b9506d4407ac0be2738834dc0bd.tar.bz2
[gdb/symtab] Fix two style issues in gdb/dwarf2/index-write.c
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>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/dwarf2/index-write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c
index 6a21af8..bac4a6c 100644
--- a/gdb/dwarf2/index-write.c
+++ b/gdb/dwarf2/index-write.c
@@ -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));
}
- }
+ }
}
}