* dllfixdbg: Work around annoying gdb warning about missing .gnu_debuglink.
This commit is contained in:
parent
57af01797e
commit
83b25b0eb7
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user