gdb_main: Fix a formatting bug that breaks, among other things, breakpoints
This commit is contained in:
parent
289d963ba5
commit
08956eb4fb
@ -592,7 +592,7 @@ handle_z_packet(char *packet, int plen)
|
|||||||
uint32_t addr;
|
uint32_t addr;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
sscanf(packet, "%*[zZ]%d,%08" PRIX32 ",%d", &type, &addr, &len);
|
sscanf(packet, "%*[zZ]%d,%08" PRIx32 ",%d", &type, &addr, &len);
|
||||||
if(set)
|
if(set)
|
||||||
ret = target_breakwatch_set(cur_target, type, addr, len);
|
ret = target_breakwatch_set(cur_target, type, addr, len);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user