aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2013-03-12 15:44:06 +0000
committerHui Zhu <teawater@gmail.com>2013-03-12 15:44:06 +0000
commitf3cec7e61fc4cf16cf150f9e967e6fc9dbbd7207 (patch)
tree22f2c18c61641abad3eeb0605c8ca203866a1b33 /gdb
parent314d60dd50709b6e572e066c8e2dd682f0640691 (diff)
downloadgdb-f3cec7e61fc4cf16cf150f9e967e6fc9dbbd7207.zip
gdb-f3cec7e61fc4cf16cf150f9e967e6fc9dbbd7207.tar.gz
gdb-f3cec7e61fc4cf16cf150f9e967e6fc9dbbd7207.tar.bz2
2013-03-12 Hui Zhu <hui@codesourcery.com>
* dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2loc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e7eb57a..3069add 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index f6fa420..625d859 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -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;