diff gdb_remote.c @ 1963:495569c1dc61

Add support for printing a byte from memory in native debugger. Add stubs for GDB commands qThreadExtraInfo and qP
author Eric Fry <yuv422@users.noreply.github.com>
date Tue, 28 Apr 2020 22:03:04 +1000
parents 5a76a7373823
children 3a46ff899fa6
line wrap: on
line diff
--- a/gdb_remote.c	Sun May 03 12:40:37 2020 -0700
+++ b/gdb_remote.c	Tue Apr 28 22:03:04 2020 +1000
@@ -401,6 +401,10 @@
 			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;
 		}