gdb_main: Fix a formatting bug that breaks, among other things, breakpoints

This commit is contained in:
dragonmux 2022-06-24 21:21:33 -04:00 committed by Piotr Esden-Tempski
parent d99ab22f95
commit 14d3846663
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ handle_z_packet(char *packet, int plen)
uint32_t addr;
int ret;
sscanf(packet, "%*[zZ]%d,%08" PRIX32 ",%d", &type, &addr, &len);
sscanf(packet, "%*[zZ]%d,%08" PRIx32 ",%d", &type, &addr, &len);
if(set)
ret = target_breakwatch_set(cur_target, type, addr, len);
else