mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-24 06:01:02 +00:00
More fixes
This commit is contained in:
@@ -126,7 +126,7 @@ namespace gdb_stub
|
||||
uint32_t type{};
|
||||
uint64_t addr{};
|
||||
size_t kind{};
|
||||
rt_assert(sscanf(data.c_str(), "%x,%" PRIX64 ",%zx", &type, &addr, &kind) == 3);
|
||||
rt_assert(sscanf_s(data.c_str(), "%x,%" PRIX64 ",%zx", &type, &addr, &kind) == 3);
|
||||
|
||||
const auto res = change_breakpoint(handler, set, translate_breakpoint_type(type), addr, kind);
|
||||
connection.send_reply(res ? "OK" : "E01");
|
||||
|
||||
Reference in New Issue
Block a user