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:
authorBrian Dessent <brian@dessent.net>2007-04-18 17:11:35 +0400
committerBrian Dessent <brian@dessent.net>2007-04-18 17:11:35 +0400
commit09e5bb8e6065e361356046e2f1247479fd5e7876 (patch)
tree6b67d10c2cb62eaa77ba438c269d88e41201df0f /winsup/cygwin/dllfixdbg
parentfb5750bfb4c4ffd5ae839c416de192c8bc262b4b (diff)
* cygwin.sc: Remove duplicated .debug_macinfo section.
* dllfixdbg: Also copy DWARF-2 sections into .dbg file.
Diffstat (limited to 'winsup/cygwin/dllfixdbg')
-rwxr-xr-xwinsup/cygwin/dllfixdbg5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg
index 4ffc4e6ce..81f766b23 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;