diff options
author | Doug Evans <dje@google.com> | 2010-06-27 16:26:41 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-06-27 16:26:41 +0000 |
commit | 9f18a3b3988f37aaa2b90305f1fd1a359f2ae685 (patch) | |
tree | 9ca7c4d369fff4bee4bf70c9421a0b6af92ae95a | |
parent | 6bee8834bf2941010b7587b7d76a7f162cef1e37 (diff) | |
download | gdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.zip gdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.tar.gz gdb-9f18a3b3988f37aaa2b90305f1fd1a359f2ae685.tar.bz2 |
* valops.c (search_struct_field): Fix typo in error message.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/valops.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 079a3db..2fb33bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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 |