aboutsummaryrefslogtreecommitdiff
path: root/gdb/coff-pe-read.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-22 09:28:10 -0600
committerTom Tromey <tromey@adacore.com>2022-04-22 09:28:10 -0600
commit6a3c1573cc11c613b2f7509aba3c2ea68c661721 (patch)
tree7a79ebaa554e49a802424cd890a99fc7b0f1c04a /gdb/coff-pe-read.c
parent8095d37f71c20dd9e6cb90d4f42fb868867263ed (diff)
downloadgdb-6a3c1573cc11c613b2f7509aba3c2ea68c661721.zip
gdb-6a3c1573cc11c613b2f7509aba3c2ea68c661721.tar.gz
gdb-6a3c1573cc11c613b2f7509aba3c2ea68c661721.tar.bz2
Un-break the coff-pe-read.c build
This fixes a build breakage in my recent coff-pe-read.c change. I'm sorry about this. I don't understand how it happened, because I definitely built and tested the series on Windows, and I didn't change it before pushing. Something must have gone wrong on the Windows build, but I don't know what. I'll investigate and and re-test to be sure.
Diffstat (limited to 'gdb/coff-pe-read.c')
-rw-r--r--gdb/coff-pe-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c
index d533a96..72bd43b 100644
--- a/gdb/coff-pe-read.c
+++ b/gdb/coff-pe-read.c
@@ -208,7 +208,7 @@ add_pe_forwarded_sym (minimal_symbol_reader &reader,
if (debug_coff_pe_read > 1)
gdb_printf (gdb_stdlog, _("Adding forwarded exported symbol"
" \"%s\" in dll \"%s\", pointing to \"%s\"\n"),
- sym_name, dll_name, forward_qualified_name);
+ sym_name, dll_name, forward_qualified_name.c_str ());
vma = msymbol.value_address ();
msymtype = msymbol.minsym->type ();