Rewrite/fix cygwin1.dbg generation

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Nov 4 02:20:00 GMT 2007


On Sat, Nov 03, 2007 at 10:44:26AM -0700, Brian Dessent wrote:
>Pedro Alves wrote:
>
>> The dllfixdbg hunk looks hard to read.  Here's what is looks
>> like after patching:
>
>I think that if whatever bugs used to exist in older binutils PE support
>that necessitated this hackery are now gone, we can just do away with
>dllfixdbg alltogether and just put this:
>
>> ${STRIP} --strip-debug ${DLL} -o stripped-${DLL}
>> ${STRIP} --only-keep-debug ${DLL} -o ${DBG}
>> ${OBJCOPY} --add-gnu-debuglink=${DBG} stripped-${DLL} ${DLL}
>> rm -f stripped-${DLL}
>
>...in the Makefile.

If that is the case, then this is a welcome change but I'm wondering if
it really is true.  Since the debug stripping is linked to the way that
cygwin manages the cygwin heap, it is possible that things only appear
to work until you allocate more space in the heap.  Has anyone tried the
above with a program that, say, opens a lot of file handles?

cgf



More information about the Cygwin-patches mailing list