From abc1f4cd130f48697c535e0d64580721d181d3d1 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Wed, 29 Dec 2010 12:47:19 +0000 Subject: [PATCH] 2010-12-29 Hui Zhu * ax-gdb.c (gen_expr): Change error message. --- gdb/ChangeLog | 4 ++++ gdb/ax-gdb.c | 4 ++-- 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 + + * ax-gdb.c (gen_expr): Change error message. + 2010-12-29 Joel Brobecker * 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; -- 2.7.4