Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixing implementation.
  • Loading branch information
thaystg authored and github-actions committed Jul 20, 2021
commit 7bb5b39bfb974e6bc8ea114378cf6312243906da
3 changes: 3 additions & 0 deletions src/mono/mono/metadata/debug-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ MONO_API char* mono_method_get_reflection_name (MonoMethod *method);

MONO_API char* mono_field_full_name (MonoClassField *field);

MONO_API MONO_RT_EXTERNAL_ONLY void
mono_debugger_agent_unhandled_exception (MonoException *e);

MONO_END_DECLS

#endif /* __MONO_DEBUG_HELPERS_H__ */
Expand Down
1 change: 0 additions & 1 deletion src/mono/mono/mini/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ endif()

set(mini_public_headers_base
jit.h
debugger-agent-external.h
mono-private-unstable.h)
addprefix(mini_public_headers ../mini "${mini_public_headers_base}")

Expand Down
6 changes: 4 additions & 2 deletions src/mono/mono/mini/debugger-agent-external.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ mono_debugger_agent_get_sdb_options (void)
}

void
mono_debugger_agent_unhandled_exception (MonoObject *e)
mono_debugger_agent_unhandled_exception (MonoException *e)
{
MONO_EXTERNAL_ONLY_VOID (mono_component_debugger ()->unhandled_exception ((MonoException*)e));
MONO_ENTER_GC_UNSAFE;
MONO_EXTERNAL_ONLY_VOID (mono_component_debugger ()->unhandled_exception (e));
MONO_EXIT_GC_UNSAFE;
}
#endif /* DISABLE_SDB */
3 changes: 0 additions & 3 deletions src/mono/mono/mini/debugger-agent-external.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ mono_debugger_agent_get_transports (int *ntrans);
MONO_COMPONENT_API char *
mono_debugger_agent_get_sdb_options (void);

MONO_API MONO_RT_EXTERNAL_ONLY void
mono_debugger_agent_unhandled_exception (MonoObject *e);

#endif