Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-12-09 21:46:12 +0400
committerChristopher Faylor <me@cgf.cx>2011-12-09 21:46:12 +0400
commit83b25b0eb7c1ac69c4e431325df5f74d0a430caa (patch)
treec863504121bb6ab0a223156c58942891dae7c915
parent57af01797e53a7a15187fa8ee8b1cad693116dd3 (diff)
* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.
-rw-r--r--winsup/cygwin/ChangeLog5
-rwxr-xr-xwinsup/cygwin/dllfixdbg2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 30b075d32..e04286ff5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg
index e3875a67a..2acdbc346 100755
--- a/winsup/cygwin/dllfixdbg
+++ b/winsup/cygwin/dllfixdbg
@@ -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;