From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id DE29C3858C5E for ; Wed, 11 Oct 2023 15:32:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE29C3858C5E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1EC5B1FEEC for ; Wed, 11 Oct 2023 15:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1697038320; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CY0sE+3cxuhAhba4cKtl+VDwlhctUXhwTy8X54flYTU=; b=rJ79pDz/xrVMmUeZoe8CHCm84eY4psHbBvKSJJb2XWjwY9AZg6VGZZwltR1CMttmYGh0Er TnT1BUvQKFtedcCAMRkqr8QxFGw4T3QCQnj73OHal1cCizuI7Y12JgBWvjMJPMztDDx60k j3gnkHPRdtHvs4clkoIDmygjC7tsnzc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1697038320; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CY0sE+3cxuhAhba4cKtl+VDwlhctUXhwTy8X54flYTU=; b=S6J3kBBtOy87M5qenuzBcQszvWi6gynOLOTzj9ccDTv02+ukiG4TuPo+P2VIlJv2DvYtNk uFxGR8RS/JI94PBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F3FD913A7A for ; Wed, 11 Oct 2023 15:31:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6M6LOu+/JmUUEAAAMHmgww (envelope-from ) for ; Wed, 11 Oct 2023 15:31:59 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 2/2] [gdb/symtab] Fix two style issues in gdb/dwarf2/index-write.c Date: Wed, 11 Oct 2023 17:32:14 +0200 Message-Id: <20231011153214.25769-2-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20231011153214.25769-1-tdevries@suse.de> References: <20231011153214.25769-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: While reviewing gdb/dwarf2/index-write.c I noticed two style issues. Fix these. Tested on x86_64-linux. --- gdb/dwarf2/index-write.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c index 6a21af80c3f..bac4a6c6934 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)); } - } + } } } -- 2.35.3