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 /winsup/cygwin/dllfixdbg
parent57af01797e53a7a15187fa8ee8b1cad693116dd3 (diff)
* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.
Diffstat (limited to 'winsup/cygwin/dllfixdbg')
-rwxr-xr-xwinsup/cygwin/dllfixdbg2
1 files changed, 1 insertions, 1 deletions
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;