aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfd-target.c
diff options
context:
space:
mode:
authorAndrey Smirnov <ndreys@sourceware.org>2011-12-11 02:46:54 +0000
committerAndrey Smirnov <ndreys@sourceware.org>2011-12-11 02:46:54 +0000
commitad13d8dfa3f77ae30c6b69d649c36e160044ffe4 (patch)
tree1000b8d55b0e38d2e04e71728cd8bc3669ed6b87 /gdb/bfd-target.c
parent917793afae7ed8e9145445cefd11c58362b9a0f7 (diff)
downloadgdb-ad13d8dfa3f77ae30c6b69d649c36e160044ffe4.zip
gdb-ad13d8dfa3f77ae30c6b69d649c36e160044ffe4.tar.gz
gdb-ad13d8dfa3f77ae30c6b69d649c36e160044ffe4.tar.bz2
* bfd-target.c (target_bfd_reopen): Rename `bfd' to
`abfd'(-Wshadow).
Diffstat (limited to 'gdb/bfd-target.c')
-rw-r--r--gdb/bfd-target.c6
1 files changed, 3 insertions, 3 deletions
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";