Skip to content

Commit

Permalink
[sdb] Add back the mono_debugger_agent_parse_options () API function …
Browse files Browse the repository at this point in the history
…which was mistakenly removed by #7673.
  • Loading branch information
vargaz authored and marek-safar committed Jul 14, 2018
1 parent d735f2f commit b9dd9d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mono/mini/debugger-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -10648,4 +10648,10 @@ mono_debugger_agent_init (void)
mini_install_dbg_callbacks (&cbs);
}

void
mono_debugger_agent_parse_options (char *options)
{
sdb_options = options;
}

#endif /* DISABLE_SDB */
3 changes: 3 additions & 0 deletions mono/mini/debugger-agent.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ struct _MonoDebuggerCallbacks {
MONO_API void
mono_debugger_agent_init (void);

MONO_API void
mono_debugger_agent_parse_options (char *options);

void
mono_debugger_agent_stub_init (void);

Expand Down

0 comments on commit b9dd9d1

Please sign in to comment.