diff options
| author | 2020-03-24 16:50:58 -0400 | |
|---|---|---|
| committer | 2020-03-24 16:50:58 -0400 | |
| commit | f8382c9d9df5cbbfc37f0e4e3952b162d3cdd1ae (patch) | |
| tree | 278f7cdcbd0ceca35c041e833f0dcbd5b7e3e895 /src/core/gdbstub/gdbstub.h | |
| parent | Merge pull request #3543 from ReinUsesLisp/gl-depth-range (diff) | |
| parent | gdbstub: small logic bug fix with defer_start (diff) | |
| download | yuzu-f8382c9d9df5cbbfc37f0e4e3952b162d3cdd1ae.tar.gz yuzu-f8382c9d9df5cbbfc37f0e4e3952b162d3cdd1ae.tar.xz yuzu-f8382c9d9df5cbbfc37f0e4e3952b162d3cdd1ae.zip | |
Merge pull request #3524 from FearlessTobi/port-5106
Port citra-emu/citra#5106: "gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization"
Diffstat (limited to 'src/core/gdbstub/gdbstub.h')
| -rw-r--r-- | src/core/gdbstub/gdbstub.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h index 5a36524b2..8fe3c320b 100644 --- a/src/core/gdbstub/gdbstub.h +++ b/src/core/gdbstub/gdbstub.h | |||
| @@ -43,6 +43,13 @@ void ToggleServer(bool status); | |||
| 43 | /// Start the gdbstub server. | 43 | /// Start the gdbstub server. |
| 44 | void Init(); | 44 | void Init(); |
| 45 | 45 | ||
| 46 | /** | ||
| 47 | * Defer initialization of the gdbstub to the first packet processing functions. | ||
| 48 | * This avoids a case where the gdbstub thread is frozen after initialization | ||
| 49 | * and fails to respond in time to packets. | ||
| 50 | */ | ||
| 51 | void DeferStart(); | ||
| 52 | |||
| 46 | /// Stop gdbstub server. | 53 | /// Stop gdbstub server. |
| 47 | void Shutdown(); | 54 | void Shutdown(); |
| 48 | 55 | ||