This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI/PUSHED] Revert unintentional change in symtab.c
- From: "Christian Biesinger via gdb-patches" <gdb-patches at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Cc: Christian Biesinger <cbiesinger at google dot com>
- Date: Fri, 25 Oct 2019 14:47:46 -0500
- Subject: [FYI/PUSHED] Revert unintentional change in symtab.c
- Reply-to: Christian Biesinger <cbiesinger at google dot com>
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
---
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
{
--
2.24.0.rc0.303.g954a862665-goog