[M3commit] CVS Update: cm3
Tony Hosking
hosking at cs.purdue.edu
Fri Dec 11 16:00:35 CET 2009
We should do the same for POSIX too I think.
On 11 Dec 2009, at 12:42, Jay Krell wrote:
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 09/12/11 12:42:57
>
> Modified files:
> cm3/m3-libs/m3core/src/runtime/WIN32/: Tag:
> release_branch_cm3_5_8
> RTOS.m3
>
> Log message:
> port from head: very small change that makes debugging sometimes much better
> (break right into debugger, don't waste time trying to suspend threads
> and dump stacks, the debugger does a much better job of suspending
> threads and usually (if you have symbols) of dumping stacks)
> If you aren't using a debugger, then no change.
>
> The thing about RestoreHandlers can probably just be removed since
> in my brief experience the DebugBreak works fine before it.
>
> Really it can probably just go like this:
> If debugger
> debugbreak
> ELSE
> suspend others, maybe
> dumpstack one of the important parts
> restore handlers probably can be removed
> Exit(-1) also important though maybe should be TerminateProcess which is much quicker/cleaner
> doesn't run all the dllmains
>
> though currently I just made the small change of moving the debugbreak much earlier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20091211/1ab977ee/attachment-0002.html>
More information about the M3commit
mailing list