Backport https://github.com/dotnet/runtime/pull/71436 (#21519)mono-6.12.0.183
commit2a19f878dab8d2e62123e0bf29453de553f5402a
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 14 Jul 2022 19:07:54 +0000 (14 21:07 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Jul 2022 19:07:54 +0000 (14 21:07 +0200)
treea4a09b8ba19daafe9856779e32e1e933575142ab
parent6051b710727762fd96367a7c32400d68533e63cb
Backport https://github.com/dotnet/runtime/pull/71436 (#21519)

Backport https://github.com/dotnet/runtime/pull/71436
Backport of #21516 to 2020-02

Co-authored-by: Thays Grazia <thaystg@gmail.com>
mono/mini/debugger-agent.c
mono/mini/mini-runtime.c