aboutsummaryrefslogtreecommitdiff
path: root/gold/errors.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
committerIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
commita2b1aa12f7d82dfd451e110bff8df16cdf6e2c49 (patch)
treee32b20a9b4065d58ffd0a8e1479f428fadb68ab5 /gold/errors.cc
parent2a1932dcc777a3aa4552a14aa917caf33f97427b (diff)
downloadgdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.zip
gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.gz
gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.bz2
From Craig Silverstein: Add support for --demangle.
Diffstat (limited to 'gold/errors.cc')
-rw-r--r--gold/errors.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/errors.cc b/gold/errors.cc
index 3aa3ece..2da1a25 100644
--- a/gold/errors.cc
+++ b/gold/errors.cc
@@ -135,7 +135,7 @@ Errors::undefined_symbol(const Symbol* sym,
}
fprintf(stderr, _("%s: %s: undefined reference to '%s'\n"),
this->program_name_, relinfo->location(relnum, reloffset).c_str(),
- sym->name());
+ sym->demangled_name().c_str());
}