mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 19:26:55 -04:00
thermosphere: rewrite gdb/mem
This commit is contained in:
parent
bd36796d5f
commit
58d52675cd
6 changed files with 95 additions and 245 deletions
|
@ -262,7 +262,7 @@ int GDB_SendStopReply(GDBContext *ctx, const DebugEventInfo *info)
|
|||
size_t sent = 0;
|
||||
size_t total = 0;
|
||||
while (remaining > 0) {
|
||||
u32 pending = (GDB_BUF_LEN - 1) / 2;
|
||||
size_t pending = (GDB_BUF_LEN - 1) / 2;
|
||||
pending = pending < remaining ? pending : remaining;
|
||||
|
||||
int res = GDB_SendMemory(ctx, "O", 1, addr + sent, pending);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue