| Index: src/trusted/service_runtime/nacl_app_thread.c
|
| ===================================================================
|
| --- src/trusted/service_runtime/nacl_app_thread.c (revision 5621)
|
| +++ src/trusted/service_runtime/nacl_app_thread.c (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "native_client/src/trusted/service_runtime/nacl_desc_effector_ldr.h"
|
|
|
| #include "native_client/src/trusted/service_runtime/nacl_globals.h"
|
| +#include "native_client/src/trusted/service_runtime/nacl_oop_debugger_hooks.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_tls.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_switch_to_app.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_stack_safety.h"
|
| @@ -52,6 +53,8 @@
|
| natp->nap->debug_stub_callbacks->thread_create_hook(natp);
|
| }
|
|
|
| + NaClOopDebuggerThreadCreateHook(natp);
|
| +
|
| /*
|
| * We need to set an exception handler in every thread we start,
|
| * otherwise the system's default handler is called and a message box is
|
| @@ -142,6 +145,7 @@
|
| if (NULL != natp->nap->debug_stub_callbacks) {
|
| natp->nap->debug_stub_callbacks->thread_exit_hook(natp);
|
| }
|
| + NaClOopDebuggerThreadExitHook(natp, natp->nap->exit_status);
|
|
|
| NaClThreadDtor(&natp->thread);
|
| NaClSignalStackUnregister();
|
|
|