Browse Source

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

v1.8
dragonmux 2 years ago
parent
commit
08956eb4fb
No known key found for this signature in database GPG Key ID: 64861EA89B35507A
  1. 2
      src/gdb_main.c

2
src/gdb_main.c

@ -592,7 +592,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

Loading…
Cancel
Save