From 2e82c9355f9d42076b3da7694ed025c1c8617309 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 8 Aug 2005 13:53:05 +0000 Subject: * cygwin.sc: Use simpler method to align .cygheap. * dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg, rather than relying on objcopy to keep only the debug sections since objcopy seems to get it wrong. * dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too. --- winsup/cygwin/dllfixdbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/dllfixdbg') diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg index 1e467d37c..8d66988fa 100755 --- a/winsup/cygwin/dllfixdbg +++ b/winsup/cygwin/dllfixdbg @@ -8,7 +8,7 @@ my $objdump = shift; my @objcopy = ((shift)); my $dll = shift; my $dbg = shift; -xit 0, @objcopy, '--only-keep-debug', $dll, $dbg; +xit 0, @objcopy, '-j', '.stab', '-j', '.stabstr', $dll, $dbg; xit 0, @objcopy, '-g', '--add-gnu-debuglink=' . $dbg, $dll; open(OBJDUMP, '-|', "$objdump --headers $dll"); my %section; -- cgit v1.2.3