Commit 598e5774 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Add a couple of more traces when querying an attribute's value.

parent 00202652
......@@ -550,6 +550,7 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
case DW_FORM_udata:
attr->u.uvalue = dwarf2_get_leb128_as_unsigned(data, NULL);
TRACE("udata<0x%lx>\n", attr->u.uvalue);
break;
case DW_FORM_string:
......@@ -567,21 +568,25 @@ static void dwarf2_fill_attr(const dwarf2_parse_context_t* ctx,
case DW_FORM_block:
attr->u.block.size = dwarf2_get_leb128_as_unsigned(data, &attr->u.block.ptr);
TRACE("block<%p,%u>\n", attr->u.block.ptr, attr->u.block.size);
break;
case DW_FORM_block1:
attr->u.block.size = dwarf2_get_byte(data);
attr->u.block.ptr = data + 1;
TRACE("block<%p,%u>\n", attr->u.block.ptr, attr->u.block.size);
break;
case DW_FORM_block2:
attr->u.block.size = dwarf2_get_u2(data);
attr->u.block.ptr = data + 2;
TRACE("block<%p,%u>\n", attr->u.block.ptr, attr->u.block.size);
break;
case DW_FORM_block4:
attr->u.block.size = dwarf2_get_u4(data);
attr->u.block.ptr = data + 4;
TRACE("block<%p,%u>\n", attr->u.block.ptr, attr->u.block.size);
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment