libdebugger/target: Move global stepping variables in to the target data

Updates #5098
This commit is contained in:
Chris Johns
2024-08-05 11:34:29 +10:00
parent f29986391d
commit 6a367f4689
3 changed files with 40 additions and 23 deletions

View File

@@ -1538,11 +1538,11 @@ remote_breakpoints(bool insert, uint8_t* buffer, int size)
const char* comma2;
comma2 = strchr(comma1 + 1, ',');
if (comma2 != NULL) {
uint32_t capabilities;
uintptr_t addr;
DB_UINT kind;
uint32_t capabilities;
uintptr_t addr;
DB_UINT kind;
addr = hex_decode_addr((const uint8_t*) comma1 + 1);
kind = hex_decode_uint((const uint8_t*)comma2 + 1);
kind = hex_decode_uint((const uint8_t*) comma2 + 1);
capabilities = rtems_debugger_target_capabilities();
switch (buffer[1]) {
case '0':
@@ -1797,6 +1797,7 @@ rtems_debugger_session(void)
if (rtems_debugger_server_flag(RTEMS_DEBUGGER_FLAG_RESET)) {
rtems_debugger_printf("rtems-db: shutdown\n");
sleep(2);
rtems_fatal_error_occurred(1122);
}