Christopher Faylor wrote:
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?
Ah, got it. VirtualAlloc fails on the first _csbrk, since it
is tripping on the VMA of .gnu_debuglink ... I assumed it would
not be a problem, since it isn't ALLOCced, but oh well...
I tried adding an EXCLUDE/NOLOAD flag to .gnu_debuglink, but no
can do.
10 .cygheap 000a0000 611e0000 611e0000 00000000 2**2
ALLOC
11 .gnu_debuglink 00000010 61280000 61280000 001d0a00 2**2
CONTENTS, READONLY, DEBUGGING
I'll come up with a different fix.
Cheers,
Pedro Alves