* valops.c (search_struct_field): Fix typo in error message.
authorDoug Evans <dje@google.com>
Sun, 27 Jun 2010 16:26:41 +0000 (16:26 +0000)
committerDoug Evans <dje@google.com>
Sun, 27 Jun 2010 16:26:41 +0000 (16:26 +0000)
gdb/ChangeLog
gdb/valops.c

index 079a3dbf50f34921579239785812cdd3aa49055d..2fb33bb1271e011acb62afeb0755dc20c9e7d026 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-27  Doug Evans  <dje@google.com>
+
+       * valops.c (search_struct_field): Fix typo in error message.
+
 2010-06-26  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dwarf2expr.c (execute_stack_op): Place preprocessor
index 506d40ec2f50d64bd30ab2643b06a6721fa92672..23a4eb1ae670301f9d68859d6ada46181224774a 100644 (file)
@@ -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