* cygwin.sc: Remove duplicated .debug_macinfo section.
* dllfixdbg: Also copy DWARF-2 sections into .dbg file.
This commit is contained in:
parent
fb5750bfb4
commit
09e5bb8e60
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-18 Brian Dessent <brian@dessent.net>
|
||||||
|
|
||||||
|
* cygwin.sc: Remove duplicated .debug_macinfo section.
|
||||||
|
* dllfixdbg: Also copy DWARF-2 sections into .dbg file.
|
||||||
|
|
||||||
2007-04-06 Eric Blake <ebb9@byu.net>
|
2007-04-06 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
* include/stdint.h (WINT_MIN): Fix sign.
|
* include/stdint.h (WINT_MIN): Fix sign.
|
||||||
|
|
|
@ -138,6 +138,5 @@ SECTIONS
|
||||||
.debug_str ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_str) }
|
.debug_str ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_str) }
|
||||||
.debug_loc ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_loc) }
|
.debug_loc ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_loc) }
|
||||||
.debug_macinfo ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
|
.debug_macinfo ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
|
||||||
.debug_macinfo ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
|
|
||||||
.debug_ranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_ranges) }
|
.debug_ranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_ranges) }
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,10 @@ my $objdump = shift;
|
||||||
my @objcopy = ((shift));
|
my @objcopy = ((shift));
|
||||||
my $dll = shift;
|
my $dll = shift;
|
||||||
my $dbg = 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;
|
xit 0, @objcopy, '-g', '--add-gnu-debuglink=' . $dbg, $dll;
|
||||||
open(OBJDUMP, '-|', "$objdump --headers $dll");
|
open(OBJDUMP, '-|', "$objdump --headers $dll");
|
||||||
my %section;
|
my %section;
|
||||||
|
|
Loading…
Reference in New Issue