This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug win32/14527] warning: section .gnu_debuglink not found in MODULENAME.debug


http://sourceware.org/bugzilla/show_bug.cgi?id=14527

--- Comment #4 from LRN <lrn1986 at gmail dot com> 2013-03-31 02:26:11 UTC ---
No, false alarm. Bug still exists.

That said, i verified that now i need to do this to get debug info to work
correctly, and without any warnings:
objcopy --only-keep-debug ./test.exe ./test.exe.dbg
objcopy --add-gnu-debuglink="test.exe.dbg" ./test.exe
objcopy --only-keep-debug ./test.exe ./test.exe.dbg
objcopy --remove-section=.gnu_debuglink ./test.exe
objcopy --add-gnu-debuglink="test.exe.dbg" ./test.exe
objcopy --strip-debug ./test.exe

(that is, add debug link before stripping)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]