public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Revert unintentional change in symtab.c
@ 2019-10-25 19:48 Christian Biesinger
  0 siblings, 0 replies; only message in thread
From: Christian Biesinger @ 2019-10-25 19:48 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=92174eeae843d8295791b9d9f03a7a291cc3c694

commit 92174eeae843d8295791b9d9f03a7a291cc3c694
Author: Christian Biesinger <cbiesinger@google.com>
Date:   Fri Oct 25 14:46:40 2019 -0500

    Revert unintentional change in symtab.c
    
    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  <cbiesinger@google.com>
    
    	* symtab.c (symbol_set_names): Revert unintentional change in the
    	Ada case.
    
    Change-Id: I9abf174927687e74c7435bd4607aab7f248c6e79

Diff:
---
 gdb/symtab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/symtab.c b/gdb/symtab.c
index adf9e08..79c5fde 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
 	{


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-25 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 19:48 [binutils-gdb] Revert unintentional change in symtab.c Christian Biesinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).