fix: print correct length in DW_FORM_exprloc

This commit is contained in:
Phireh 2023-09-23 22:03:40 +02:00
commit 66762058a9
Signed by: Phireh
GPG key ID: DD169F1BA658A5E5

View file

@ -242,7 +242,7 @@ void parse_debuginfo_section(const void *file)
p += decode_leb128((uint8_t*)p, &length);
// TODO: save this data
p += length;
fprintf(stdout, "(%d bytes data)\n");
fprintf(stdout, "(%d bytes data)\n", length);
} break;
case DW_FORM_flag_present:
{