aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-07-23 09:56:41 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-07-23 09:56:41 +0000
commita1166c0c514738121d411bf2313f1e37b1bb4b10 (patch)
tree77f80577ad0bde2368352019b726460b54b35ce9
parent9bfb2d1dabbaf70bac77183d0bc4b49b039e51b1 (diff)
more debug
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1384 59561ff5-6e30-0410-9f3c-9617f08c8826
-rw-r--r--skeletons/per_support.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/skeletons/per_support.c b/skeletons/per_support.c
index 2e4e5275..e8299c73 100644
--- a/skeletons/per_support.c
+++ b/skeletons/per_support.c
@@ -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;