Re: dlclose not calling destructors of static variables.

2010-02-01 Thread Christopher Faylor
On Mon, Feb 01, 2010 at 10:36:38PM +, Dave Korn wrote: >On 01/02/2010 21:59, Christopher Faylor wrote: >>Since the testcase (obviously?) worked for me it seems like this is >>pretty variable. I'd like to understand why the >>MEMORY_BASIC_INFORMATION method doesn't work before trying other >>th

Re: [PATCH] Add some notes about process startup/shutdown.

2010-02-01 Thread Christopher Faylor
On Tue, Feb 02, 2010 at 02:08:17AM +, Dave Korn wrote: >On 02/02/2010 01:39, Christopher Faylor wrote: > >>> winsup/cygwin/ChangeLog: >>> >>> * how-crt-and-initfini.txt: Add new document. >>> >>> OK? >> >> Yes, very nice except I don't think the name is descriptive enough and >> in keepin

Re: [PATCH] Add some notes about process startup/shutdown.

2010-02-01 Thread Dave Korn
On 02/02/2010 01:39, Christopher Faylor wrote: >> winsup/cygwin/ChangeLog: >> >> * how-crt-and-initfini.txt: Add new document. >> >> OK? > > Yes, very nice except I don't think the name is descriptive enough and > in keeping with the other stuff in the series. > > Maybe how-startup-shutdow

Re: [PATCH] Add some notes about process startup/shutdown.

2010-02-01 Thread Christopher Faylor
On Tue, Feb 02, 2010 at 01:23:54AM +, Dave Korn wrote: > > > Here's some notes I've been making; reckon they might come in handy for >anyone who wants to untangle some of this stuff in the future. Attached the >whole file rather than gratuitously prefixing every line with a '+' to no >great e

[PATCH] Add some notes about process startup/shutdown.

2010-02-01 Thread Dave Korn
Here's some notes I've been making; reckon they might come in handy for anyone who wants to untangle some of this stuff in the future. Attached the whole file rather than gratuitously prefixing every line with a '+' to no great effect! :) There'll be another later, to explain how the cxx abi

Re: dlclose not calling destructors of static variables.

2010-02-01 Thread Dave Korn
On 01/02/2010 22:36, Dave Korn wrote: > On 01/02/2010 21:59, Christopher Faylor wrote: > >> Since the testcase (obviously?) worked for me it seems like this is pretty >> variable. I'd like to understand why the MEMORY_BASIC_INFORMATION method >> doesn't work before trying other things. > > >

Re: dlclose not calling destructors of static variables.

2010-02-01 Thread Dave Korn
On 01/02/2010 21:59, Christopher Faylor wrote: > Since the testcase (obviously?) worked for me it seems like this is pretty > variable. I'd like to understand why the MEMORY_BASIC_INFORMATION method > doesn't work before trying other things. Hmm, well first off, looks like RegionSize is ind

Re: dlclose not calling destructors of static variables.

2010-02-01 Thread Christopher Faylor
On Mon, Feb 01, 2010 at 08:17:05PM +, Dave Korn wrote: >On 01/02/2010 19:28, Dave Korn wrote: >> On 01/02/2010 17:51, Christopher Faylor wrote: >>> On Mon, Feb 01, 2010 at 12:46:11PM -0500, Christopher Faylor wrote: >> > Cribbing from the gdb source code, it looks like they use BaseAddrees

Re: [PATCH] winsup/doc/README: docbook-utils

2010-02-01 Thread Christopher Faylor
On Mon, Feb 01, 2010 at 02:51:47PM -0600, Yaakov (Cygwin/X) wrote: >This patch updates winsup/doc/README for the new docbook-utils package, >which provides the docbook2pdf command for building the PDFs. Go ahead and check this in. Thanks. >As for the note about docbook2X (which is a separate pa

[PATCH] winsup/doc/README: docbook-utils

2010-02-01 Thread Yaakov (Cygwin/X)
This patch updates winsup/doc/README for the new docbook-utils package, which provides the docbook2pdf command for building the PDFs. As for the note about docbook2X (which is a separate package not included in today's additions) for info pages, I missed that until now because it is not part o

Re: dlclose not calling destructors of static variables.

2010-02-01 Thread Dave Korn
On 01/02/2010 19:28, Dave Korn wrote: > On 01/02/2010 17:51, Christopher Faylor wrote: >> On Mon, Feb 01, 2010 at 12:46:11PM -0500, Christopher Faylor wrote: > Cribbing from the gdb source code, it looks like they use BaseAddrees + 0x1000 for the start point and then call GetModuleInfor