aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-12-29 12:47:19 +0000
committerHui Zhu <teawater@gmail.com>2010-12-29 12:47:19 +0000
commitabc1f4cd130f48697c535e0d64580721d181d3d1 (patch)
tree6dbe5fbab523525ef777f4daee8c25b8c2e4a9ed /gdb
parent457344df01247c1504fd583b24892e4fce7399cb (diff)
downloadgdb-abc1f4cd130f48697c535e0d64580721d181d3d1.zip
gdb-abc1f4cd130f48697c535e0d64580721d181d3d1.tar.gz
gdb-abc1f4cd130f48697c535e0d64580721d181d3d1.tar.bz2
2010-12-29 Hui Zhu <teawater@gmail.com>
* ax-gdb.c (gen_expr): Change error message.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ax-gdb.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b7be1ad..e57926c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-29 Hui Zhu <teawater@gmail.com>
+
+ * ax-gdb.c (gen_expr): Change error message.
+
2010-12-29 Joel Brobecker <brobecker@adacore.com>
* gdb.c: Revert the previous change, which was probably committed
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index f56183b..4941d32 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -1981,8 +1981,8 @@ gen_expr (struct expression *exp, union exp_element **pc,
/* No support for tracing user registers yet. */
if (reg >= gdbarch_num_regs (exp->gdbarch)
+ gdbarch_num_pseudo_regs (exp->gdbarch))
- error (_("'%s' is a pseudo-register; "
- "GDB cannot yet trace pseudoregister contents."),
+ error (_("'%s' is a user-register; "
+ "GDB cannot yet trace user-register contents."),
name);
value->kind = axs_lvalue_register;
value->u.reg = reg;