diff options
author | Fred Fish <fnf@specifix.com> | 1993-10-08 23:04:45 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-10-08 23:04:45 +0000 |
commit | a71c0593c6f836e5e6607619209938dff0e7a093 (patch) | |
tree | 86301b457663ec9c4c902a3a1370cf6d561110c9 /gdb/osfsolib.c | |
parent | 22d33fb2f56e233cc6d5f7bb80e8d3883e4aa098 (diff) | |
download | gdb-a71c0593c6f836e5e6607619209938dff0e7a093.zip gdb-a71c0593c6f836e5e6607619209938dff0e7a093.tar.gz gdb-a71c0593c6f836e5e6607619209938dff0e7a093.tar.bz2 |
* osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
xcoffsolib.h: Use 'abfd' for bfd variables instead of 'bfd'.
Sun cc doesn't like variable names that match their typedef'd type.
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r-- | gdb/osfsolib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c index a27243d..98224ef 100644 --- a/gdb/osfsolib.c +++ b/gdb/osfsolib.c @@ -96,7 +96,7 @@ struct so_list { struct section_table *sections; struct section_table *sections_end; struct section_table *textsection; - bfd *bfd; + bfd *abfd; }; static struct so_list *so_list_head; /* List of known shared objects */ @@ -195,7 +195,7 @@ solib_map_sections (so) scratch_pathname, bfd_errmsg (bfd_error)); } /* Leave bfd open, core_xfer_memory and "info files" need it. */ - so -> bfd = abfd; + so -> abfd = abfd; abfd -> cacheable = true; if (!bfd_check_format (abfd, bfd_object)) @@ -670,10 +670,10 @@ clear_solib() { free ((PTR)so_list_head -> sections); } - if (so_list_head -> bfd) + if (so_list_head -> abfd) { - bfd_filename = bfd_get_filename (so_list_head -> bfd); - bfd_close (so_list_head -> bfd); + bfd_filename = bfd_get_filename (so_list_head -> abfd); + bfd_close (so_list_head -> abfd); } else /* This happens for the executable on SVR4. */ |