This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug win32/14527] warning: section .gnu_debuglink not found in MODULENAME.debug
- From: "lrn1986 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 31 Mar 2013 02:26:11 +0000
- Subject: [Bug win32/14527] warning: section .gnu_debuglink not found in MODULENAME.debug
- Auto-submitted: auto-generated
- References: <bug-14527-4717 at http dot sourceware dot org/bugzilla/>
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.