summaryrefslogtreecommitdiff
path: root/gdb/annotate.c
diff options
context:
space:
mode:
authorndreys <ndreys>2011-12-11 02:44:15 +0000
committerndreys <ndreys>2011-12-11 02:44:15 +0000
commitfae3c6121ddbdc145c2291eafafcd1af1bbbc62b (patch)
treec67d9b53eb4bd5a225ff9d00ec9818277a0e52fe /gdb/annotate.c
parent7e4ddce524bf863576d4ec3d065634761e494e3e (diff)
downloadgdb-fae3c6121ddbdc145c2291eafafcd1af1bbbc62b.tar.gz
* annotate.c (annotate_array_section_begin): Rename `index' to
`idx'(-Wshadow).
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index 2f0769aeaf2..93c65a1e4c9 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"));
}