This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Warning when using separate debug info file
> Date: Sat, 27 Apr 2019 18:18:48 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> CC: lrn1986@gmail.com, gdb-patches@sourceware.org
>
> So this:
>
> objcopy --set-section-flags .gnu_debuglink=contents,readonly hello.exe
>
> fixes the problem: I can now debug the program without the warning.
>
> I'm going to report this to the Binutils list.
Reported as Binutils bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=24493