aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/language.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c12f8c8..de94202 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-13 Tom Tromey <tromey@redhat.com>
+
+ * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
+
2010-10-13 Doug Evans <dje@google.com>
* c-typeprint.c: Whitespace cleanup.
diff --git a/gdb/language.h b/gdb/language.h
index aa0523b..ad47a4b 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -418,7 +418,7 @@ extern enum language set_language (enum language);
#define LA_GET_STRING(value, buffer, length, chartype, encoding) \
(current_language->la_get_string(value, buffer, length, chartype, encoding))
-#define LA_PRINT_ARRAY_INDEX(index_value, stream, optins) \
+#define LA_PRINT_ARRAY_INDEX(index_value, stream, options) \
(current_language->la_print_array_index(index_value, stream, options))
/* Test a character to decide whether it can be printed in literal form