Un-break the coff-pe-read.c build
authorTom Tromey <tromey@adacore.com>
Fri, 22 Apr 2022 15:28:10 +0000 (09:28 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Apr 2022 15:28:10 +0000 (09:28 -0600)
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.

gdb/coff-pe-read.c

index d533a96ef6d4a85b737d945d21ef603bc4017ead..72bd43b23d885c84acae9de1e7e6c97a38db906f 100644 (file)
@@ -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 ();