* annotate.c (annotate_array_section_begin): Rename `index' to
authorAndrey Smirnov <ndreys@sourceware.org>
Sun, 11 Dec 2011 02:44:15 +0000 (02:44 +0000)
committerAndrey Smirnov <ndreys@sourceware.org>
Sun, 11 Dec 2011 02:44:15 +0000 (02:44 +0000)
`idx'(-Wshadow).

gdb/ChangeLog
gdb/annotate.c

index 3f7a5fa20d13130de45dd3bc44e0b3a5925f8a2c..fa6e37bad5c5a266d7fb26cd106f2f8939e358bb 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * annotate.c (annotate_array_section_begin): Rename `index' to
+       `idx'(-Wshadow).
+
 2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
 
        * amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to
index 2f0769aeaf235e3f9b53af00fbcafeb8a6109093..93c65a1e4c9d8441bd45cf4900f2b5cb72e98f7c 100644 (file)
@@ -522,11 +522,11 @@ annotate_frame_end (void)
 }
 \f
 void
-annotate_array_section_begin (int index, struct type *elttype)
+annotate_array_section_begin (int idx, struct type *elttype)
 {
   if (annotation_level == 2)
     {
-      printf_filtered (("\n\032\032array-section-begin %d "), index);
+      printf_filtered (("\n\032\032array-section-begin %d "), idx);
       print_value_flags (elttype);
       printf_filtered (("\n"));
     }