From 09e5bb8e6065e361356046e2f1247479fd5e7876 Mon Sep 17 00:00:00 2001 From: Brian Dessent Date: Wed, 18 Apr 2007 13:11:35 +0000 Subject: * cygwin.sc: Remove duplicated .debug_macinfo section. * dllfixdbg: Also copy DWARF-2 sections into .dbg file. --- winsup/cygwin/dllfixdbg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/dllfixdbg') diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg index 4ffc4e6..81f766b 100755 --- a/winsup/cygwin/dllfixdbg +++ b/winsup/cygwin/dllfixdbg @@ -16,7 +16,10 @@ my $objdump = shift; my @objcopy = ((shift)); my $dll = shift; my $dbg = shift; -xit 0, @objcopy, '-j', '.stab', '-j', '.stabstr', $dll, $dbg; +xit 0, @objcopy, '-j', '.stab', '-j', '.stabstr', '-j', '.debug_aranges', + '-j', '.debug_pubnames', '-j', '.debug_info', '-j', '.debug_abbrev', + '-j', '.debug_line', '-j', '.debug_frame', '-j', '.debug_str', '-j', + '.debug_loc', '-j', '.debug_macinfo', '-j', '.debug_ranges', $dll, $dbg; xit 0, @objcopy, '-g', '--add-gnu-debuglink=' . $dbg, $dll; open(OBJDUMP, '-|', "$objdump --headers $dll"); my %section; -- cgit v1.1