This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: fix typo in language.h macro
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 13 Oct 2010 11:37:54 -0600
- Subject: FYI: fix typo in language.h macro
I'm checking this in.
I happened to notice a typo in a macro argument in language.h.
It is not a severe bug since the actual argument in its one use has the
same name as the (corrected) formal parameter.
Tom
2010-10-13 Tom Tromey <tromey@redhat.com>
* language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.68
diff -u -r1.68 language.h
--- language.h 14 Jun 2010 08:26:56 -0000 1.68
+++ language.h 13 Oct 2010 17:33:45 -0000
@@ -418,7 +418,7 @@
#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