From 9f18a3b3988f37aaa2b90305f1fd1a359f2ae685 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 27 Jun 2010 16:26:41 +0000 Subject: [PATCH] * valops.c (search_struct_field): Fix typo in error message. --- gdb/ChangeLog | 4 ++++ gdb/valops.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 079a3dbf50f..2fb33bb1271 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-06-27 Doug Evans + + * valops.c (search_struct_field): Fix typo in error message. + 2010-06-26 Ulrich Weigand * dwarf2expr.c (execute_stack_op): Place preprocessor diff --git a/gdb/valops.c b/gdb/valops.c index 506d40ec2f5..23a4eb1ae67 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1852,7 +1852,7 @@ search_struct_field (const char *name, struct value *arg1, int offset, { v = value_static_field (type, i); if (v == 0) - error (_("field %s is nonexistent or has been optimised out"), + error (_("field %s is nonexistent or has been optimized out"), name); } else -- 2.30.2