From patchwork Mon Sep 30 20:59:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 34749 Received: (qmail 57356 invoked by alias); 30 Sep 2019 20:59:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 57347 invoked by uid 89); 30 Sep 2019 20:59:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=cust, H*MI:google X-HELO: mail-pl1-f201.google.com Received: from mail-pl1-f201.google.com (HELO mail-pl1-f201.google.com) (209.85.214.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Sep 2019 20:59:19 +0000 Received: by mail-pl1-f201.google.com with SMTP id 70so5936184ple.1 for ; Mon, 30 Sep 2019 13:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=lT3qukBBqN3CUQ7ul/zviVBOqQt02HfAX7qK8kSRuRE=; b=oCq7g2xSwI87kS5zinCUMxxex4hd8J+87NMElAODBZnXanNPQ8sukaKwu8+H3UCLNc wDZTMA6g7VCJJZcBG0LItpqYpJnMW+OfSbrGMX69Bqw5y06pvE517MDMU0dmCAn98Oxn UegTFW7vxHoDfZ8hlNGiOxpmbjhxN6HB1CSnQhHwEBTS1FWg0vTpnN/ggjGT8gNr7b4L n4180C5HfJ749XchbiD/5xmgegvk4h16uLSnZd9bnzGhRm1rAfEsUXmzQbRrreGzqfsu 8CVI7PcO1Bq9idOJ6w/JUwFoFuykfwIQJoOjoRJz3i30B/cQtto7EE8RTO+TG804FyBW nfEw== Date: Mon, 30 Sep 2019 13:59:12 -0700 Message-Id: <20190930205912.205717-1-tamur@google.com> Mime-Version: 1.0 Subject: [PATCH] Remove extra whitespaces at the end of lines. X-Patchwork-Original-From: "Ali Tamur via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Ali Tamur To: gdb-patches@sourceware.org Cc: Ali Tamur X-IsSubscribed: yes Removing a few extra whitespace characters at the end of lines. This should fall under 'obvious patch' rule, so I am just going to submit it. gdb/ChangeLog: * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL. (process_full_type_unit): Likewise. (dump_die_shallow): Likewise. (cu_debug_loc_section): Likewise. --- gdb/dwarf2read.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 1052501c35..0f4f36682c 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -10377,7 +10377,7 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu, if (cu->language == language_go) fixup_go_packaging (cu); - /* Now that we have processed all the DIEs in the CU, all the types + /* Now that we have processed all the DIEs in the CU, all the types should be complete, and it should now be safe to compute all of the physnames. */ compute_delayed_physnames (cu); @@ -10426,7 +10426,7 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu, Still one can confuse GDB by using non-standard GCC compilation options - this waits on GCC PR other/32998 (-frecord-gcc-switches). - */ + */ if (cu->has_loclist && gcc_4_minor >= 5) cust->locations_valid = 1; @@ -10481,7 +10481,7 @@ process_full_type_unit (struct dwarf2_per_cu_data *per_cu, if (cu->language == language_go) fixup_go_packaging (cu); - /* Now that we have processed all the DIEs in the CU, all the types + /* Now that we have processed all the DIEs in the CU, all the types should be complete, and it should now be safe to compute all of the physnames. */ compute_delayed_physnames (cu); @@ -23062,7 +23062,7 @@ dump_die_shallow (struct ui_file *f, int indent, struct die_info *die) case DW_FORM_indirect: /* The reader will have reduced the indirect form to the "base form" so this form should not occur. */ - fprintf_unfiltered (f, + fprintf_unfiltered (f, "unexpected attribute form: DW_FORM_indirect"); break; case DW_FORM_implicit_const: @@ -25163,7 +25163,7 @@ cu_debug_loc_section (struct dwarf2_cu *cu) if (cu->dwo_unit) { struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections; - + return cu->header.version >= 5 ? §ions->loclists : §ions->loc; } return (cu->header.version >= 5 ? &dwarf2_per_objfile->loclists