aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
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/ax-gdb.c
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/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c4
1 files changed, 2 insertions, 2 deletions
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;