]> Cypherpunks repositories - gostls13.git/commit
runtime: allow OutputDebugString to be sent to debugger
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 19 Sep 2014 01:38:48 +0000 (11:38 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 19 Sep 2014 01:38:48 +0000 (11:38 +1000)
commit2ed209eaf59c3b7372258419c5fa1f5b0abc507e
tree871b353c940d3842c7a8d9254351931b272ae529
parentdd8f29e3feb91f3c7ec0681ef23694578e4d9228
runtime: allow OutputDebugString to be sent to debugger

We mark DBG_PRINTEXCEPTION_C messages in VEH handler
as handled, thus preventing debugger from seeing them.
I don't see reason for doing that. The comment warns
of crashes, but I added test and don't see any crashes.

This is also simplify VEH handler before making
changes to fix issue 8006.

Update #8006

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/146800043
src/runtime/os_windows_386.c
src/runtime/os_windows_amd64.c
src/runtime/syscall_windows_test.go