aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-06-27 16:26:41 +0000
committerDoug Evans <dje@google.com>2010-06-27 16:26:41 +0000
commit9f18a3b3988f37aaa2b90305f1fd1a359f2ae685 (patch)
tree9ca7c4d369fff4bee4bf70c9421a0b6af92ae95a /gdb/valops.c
parent6bee8834bf2941010b7587b7d76a7f162cef1e37 (diff)
downloadgdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.zip
gdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.tar.gz
gdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.tar.bz2
* valops.c (search_struct_field): Fix typo in error message.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 506d40e..23a4eb1 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