This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] valops.c (search_struct_field): Fix typo in error message.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Sun, 27 Jun 2010 09:28:28 -0700 (PDT)
- Subject: [commit] valops.c (search_struct_field): Fix typo in error message.
Hi.
grepping for "optimized out" misses this one.
commited.
2010-06-27 Doug Evans <dje@google.com>
* valops.c (search_struct_field): Fix typo in error message.
Index: valops.c
===================================================================
RCS file: /cvs/src/src/gdb/valops.c,v
retrieving revision 1.246
diff -u -p -r1.246 valops.c
--- valops.c 11 Jun 2010 15:36:05 -0000 1.246
+++ valops.c 27 Jun 2010 16:23:35 -0000
@@ -1852,7 +1852,7 @@ search_struct_field (const char *name, s
{
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