comparison 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
comparison
equal deleted inserted replaced
1962:16d46ff1f620 1963:495569c1dc61
399 } else if (!strcmp("fThreadInfo", command + 1)) { 399 } else if (!strcmp("fThreadInfo", command + 1)) {
400 //we only support a single thread currently, so send 1 400 //we only support a single thread currently, so send 1
401 gdb_send_command("m1"); 401 gdb_send_command("m1");
402 } else if (!strcmp("sThreadInfo", command + 1)) { 402 } else if (!strcmp("sThreadInfo", command + 1)) {
403 gdb_send_command("l"); 403 gdb_send_command("l");
404 } else if (!memcmp("ThreadExtraInfo", command+1, strlen("ThreadExtraInfo"))) {
405 gdb_send_command("");
406 } else if (command[1] == 'P') {
407 gdb_send_command("");
404 } else { 408 } else {
405 goto not_impl; 409 goto not_impl;
406 } 410 }
407 break; 411 break;
408 case 'v': 412 case 'v':