From ad13d8dfa3f77ae30c6b69d649c36e160044ffe4 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 11 Dec 2011 02:46:54 +0000 Subject: * bfd-target.c (target_bfd_reopen): Rename `bfd' to `abfd'(-Wshadow). --- gdb/bfd-target.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/bfd-target.c') diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c index cfeb0b1..17b3a56 100644 --- a/gdb/bfd-target.c +++ b/gdb/bfd-target.c @@ -78,14 +78,14 @@ target_bfd_xclose (struct target_ops *t, int quitting) } struct target_ops * -target_bfd_reopen (struct bfd *bfd) +target_bfd_reopen (struct bfd *abfd) { struct target_ops *t; struct target_bfd_data *data; data = XZALLOC (struct target_bfd_data); - data->bfd = bfd; - build_section_table (bfd, &data->table.sections, &data->table.sections_end); + data->bfd = abfd; + build_section_table (abfd, &data->table.sections, &data->table.sections_end); t = XZALLOC (struct target_ops); t->to_shortname = "bfd"; -- cgit v1.1