OSDN Git Service

* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.
authorcgf <cgf>
Fri, 9 Dec 2011 17:46:10 +0000 (17:46 +0000)
committercgf <cgf>
Fri, 9 Dec 2011 17:46:10 +0000 (17:46 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/dllfixdbg

index 30b075d..e04286f 100644 (file)
@@ -1,5 +1,10 @@
 2011-12-09  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
+       * dllfixdbg: Work around annoying gdb warning about missing
+       .gnu_debuglink.
+
+2011-12-09  Christopher Faylor  <me.cygwin2011@cgf.cx>
+
        Rename cygWFMO to cygwait throughout and use the magic of polymorphism
        to "wait for stuff".
        * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use
index e3875a6..2acdbc3 100755 (executable)
@@ -16,7 +16,7 @@ my $objdump = shift;
 my @objcopy = ((shift));
 my $dll = shift;
 my $dbg = shift;
-xit 0, @objcopy, '-R', '.gnu_debuglink_overlay', '--only-keep-debug', $dll, $dbg;
+xit 0, @objcopy, '-R', '.gnu_debuglink_overlay', '--add-gnu-debuglink=/dev/null', '--only-keep-debug', $dll, $dbg;
 xit 0, @objcopy, '-g', '--add-gnu-debuglink=' . $dbg, $dll;
 open(OBJDUMP, '-|', "$objdump --headers $dll");
 my %section;