From patchwork Fri Oct 25 19:47:46 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: 35350 Received: (qmail 80581 invoked by alias); 25 Oct 2019 19:47:54 -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 80573 invoked by uid 89); 25 Oct 2019 19:47:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.2 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= X-HELO: mail-qt1-f201.google.com Received: from mail-qt1-f201.google.com (HELO mail-qt1-f201.google.com) (209.85.160.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Oct 2019 19:47:53 +0000 Received: by mail-qt1-f201.google.com with SMTP id u23so3175313qtb.22 for ; Fri, 25 Oct 2019 12:47:52 -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=6S6ydQ/GvAyDSnBrQutyULuIm8dW4zTIuHL3N7l2jBU=; b=miT7ZOYBtOfcOUsSXGDJhzGv2pmPNXn6saz1WGv7cziMx6accdePrefN823wKSnhMt PgRkQKr7WFfAxjPFVfNmartA7vLEaKKQkc3q19Xkw/y8unTWqOmZWVK/6iTjh/u4kgzv RBQHPvlLNsf90qjLQ29zJzD2Vc9QZK2D00vTkZVdX8Q2E+0Uni/cns+zrEScRDv11HWr 6i/mMYzI3LMqzXIJ3JFUtA4wKNofqh4E95cVyK8tMoRN+vbVhQdubbR2ZFRISgjA7QM4 xBOyznR+BEJeGULiLGmjZmz7IQ6/N0TFd+GzLrSEf9Fy8TL9P+HqxxARYXQ1g+0VN7NN EBGg== Date: Fri, 25 Oct 2019 14:47:46 -0500 Message-Id: <20191025194746.153772-1-cbiesinger@google.com> Mime-Version: 1.0 Subject: [FYI/PUSHED] Revert unintentional change in symtab.c X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger X-IsSubscribed: yes In the previous commit, I accidentally changed the wrong line; this reverts it to what it should be. gdb/ChangeLog: 2019-10-25 Christian Biesinger * symtab.c (symbol_set_names): Revert unintentional change in the Ada case. Change-Id: I9abf174927687e74c7435bd4607aab7f248c6e79 --- gdb/symtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/symtab.c b/gdb/symtab.c index adf9e08067..79c5fde43c 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -839,7 +839,7 @@ symbol_set_names (struct general_symbol_info *gsymbol, { /* In Ada, we do the symbol lookups using the mangled name, so we can save some space by not storing the demangled name. */ - if (!copy_name && linkage_name_copy == linkage_name) + if (!copy_name) gsymbol->name = linkage_name; else {