Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run to and Step over patch #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
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
7 changes: 5 additions & 2 deletions libpcsxcore/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ Execution flow control commands (3xx):
Soft (quick) resets.
399
Resets.
3A0 <address>
Run to address.
3A1
Step over.


Server outputs:
Expand Down Expand Up @@ -1125,14 +1129,13 @@ static void ProcessCommands() {
step_over = 1;
step_over_addr = psxRegs.pc + 8;
paused = 0;

sprintf(reply, "4A1 step over addr %08X\r\n", psxRegs.pc);
}
else {
trace = 1;
paused = 0;
}
}
sprintf(reply, "4A1 step over addr %08X\r\n", psxRegs.pc);
break;
default:
sprintf(reply, "500 Unknown command '%s'\r\n", cmd);
Expand Down