Fixed debugger for threads attached from JNI
Dbg::PostThreadStart was not invoked in Thread::Attach,
thus when attaching existing native thread to JNI, JDWP
events from that thread are not handled correctly by the
debugger, because the thread keeps being unannounced.
The issue was reproduced on Eclipse 4.3 and 4.4.
(cherry picked from commit dfafeef139dbc77e86fdb465d960b4a17a7ac4a0)
Signed-off-by: Daniel Mihalyi <email@example.com>
1 file changed