diff options
author | Hui Zhu <teawater@gmail.com> | 2010-12-29 12:47:19 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2010-12-29 12:47:19 +0000 |
commit | abc1f4cd130f48697c535e0d64580721d181d3d1 (patch) | |
tree | 6dbe5fbab523525ef777f4daee8c25b8c2e4a9ed | |
parent | 457344df01247c1504fd583b24892e4fce7399cb (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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; |