mirror of https://gerrit.osmocom.org/asn1c
more debug
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1384 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
9bfb2d1dab
commit
a1166c0c51
|
@ -103,11 +103,13 @@ per_get_few_bits(asn_per_data_t *pd, int nbits) {
|
|||
|
||||
accum &= (((uint32_t)1 << nbits) - 1);
|
||||
|
||||
ASN_DEBUG(" [PER got %2d<=%2d bits => span %d %+d[%d..%d] (%d) => 0x%x]",
|
||||
ASN_DEBUG(" [PER got %2d<=%2d bits => span %d %+d[%d..%d]:%02x (%d) => 0x%x]",
|
||||
nbits, nleft,
|
||||
pd->moved,
|
||||
(((int)pd->buffer) & 0xf),
|
||||
pd->nboff, pd->nbits, pd->nbits - pd->nboff,
|
||||
pd->nboff, pd->nbits,
|
||||
pd->buffer[0],
|
||||
pd->nbits - pd->nboff,
|
||||
(int)accum);
|
||||
|
||||
return accum;
|
||||
|
|
Loading…
Reference in New Issue