2013-03-12 Hui Zhu <hui@codesourcery.com>

* dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
This commit is contained in:
Hui Zhu 2013-03-12 15:44:06 +00:00
parent 314d60dd50
commit f3cec7e61f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-03-12 Hui Zhu <hui@codesourcery.com>
* dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
2013-03-12 Yao Qi <yao@codesourcery.com>
Hui Zhu <hui@codesourcery.com>

View File

@ -2934,8 +2934,8 @@ dwarf2_compile_expr_to_ax (struct agent_expr *expr, struct axs_value *loc,
size = addr_size;
if (size != 1 && size != 2 && size != 4 && size != 8)
error (_("Refn doesn't support size %d"),
size * TARGET_CHAR_BIT);
error (_("Unsupported size %d in %s"),
size, get_DW_OP_name (op));
access_memory (arch, expr, size * TARGET_CHAR_BIT);
}
break;