diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/annotate.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f7a5fa..fa6e37b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 `idx'(-Wshadow). diff --git a/gdb/annotate.c b/gdb/annotate.c index 2f0769a..93c65a1 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -522,11 +522,11 @@ annotate_frame_end (void) } 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")); } |