summaryrefslogtreecommitdiff
path: root/gdb_remote.c
diff options
context:
space:
mode:
authorEric Fry <yuv422@users.noreply.github.com>2020-04-28 22:03:04 +1000
committerEric Fry <yuv422@users.noreply.github.com>2020-04-28 22:03:04 +1000
commit8adaf00407538f09d5d0cf306c4100611a5aa8af (patch)
treebb7abdbb0af6795ba29621b18b2f306fbc71f715 /gdb_remote.c
parent3aa05714b2e0e2ca03a8712315170c7a7c715322 (diff)
Add support for printing a byte from memory in native debugger. Add stubs for GDB commands qThreadExtraInfo and qP
Diffstat (limited to 'gdb_remote.c')
-rw-r--r--gdb_remote.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb_remote.c b/gdb_remote.c
index 6cf1d67..cdc73a5 100644
--- a/gdb_remote.c
+++ b/gdb_remote.c
@@ -401,6 +401,10 @@ void gdb_run_command(m68k_context * context, uint32_t pc, char * command)
gdb_send_command("m1");
} else if (!strcmp("sThreadInfo", command + 1)) {
gdb_send_command("l");
+ } else if (!memcmp("ThreadExtraInfo", command+1, strlen("ThreadExtraInfo"))) {
+ gdb_send_command("");
+ } else if (command[1] == 'P') {
+ gdb_send_command("");
} else {
goto not_impl;
}