https://sourceware.org/bugzilla/show_bug.cgi?id=24493
--- Comment #5 from Eli Zaretskii <eliz at gnu dot org> --- (In reply to Nick Clifton from comment #4) > Hi Eli, > > > Just so I understand: do you want me to build GDB with this change or > > Binutils? > > Both. The problem - if I have understood it correctly - is that when > the BFD library reads in the PE format file containing the .gnu.debuglink > section it does not set up the correct set of section flags. The affects > both GDB and objcopy, both of which use the BFD library to read in the file. For now, I rebuilt only Binutils 2.32 with the patch. The patch seems to be working, in the sense that the section flags are now different: D:\usr\eli>objdump -h -j .gnu_debuglink ./hello.exe ./hello.exe: file format pei-i386 Sections: Idx Name Size VMA LMA File off Algn 8 .gnu_debuglink 00000014 00416000 00416000 00004c00 2**2 CONTENTS, READONLY, DEBUGGING Is this DEBUGGING flag expected to be there? Because with it, stock GDB 8.2 still emits the warning; removing the flag also removes teh warning, as before. This flag is not shown on GNU/Linux, as I reported above. I will rebuild GDB tomorrow and wee if that fixes the problem. > PS. If the patch does not work, would you mind uploading a PE format > file containing a .gnu.debuglink section, so that I can investigate further ? Will do if the problem remains after rebuilding GDB. Thanks. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils