aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-19 02:55:55 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-19 02:55:55 +0000
commit6ceadee453f46607e981b508d4f8ca7d87908fcb (patch)
tree12f579db06e71529cdc5499b53eebe6bc8726494 /gdb/solib.c
parent77d8f47a4035eb16f8907b9d1be6c0940f479b72 (diff)
downloadgdb-6ceadee453f46607e981b508d4f8ca7d87908fcb.zip
gdb-6ceadee453f46607e981b508d4f8ca7d87908fcb.tar.gz
gdb-6ceadee453f46607e981b508d4f8ca7d87908fcb.tar.bz2
* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
bfd_elf_get_arch_size to bfd_get_arch_size.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 080962e..d5afd5a 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -714,7 +714,7 @@ elf_locate_base ()
For mips elf we look for DT_MIPS_RLD_MAP, mips elf apparently has
no DT_DEBUG entries. */
- arch_size = bfd_elf_get_arch_size (exec_bfd);
+ arch_size = bfd_get_arch_size (exec_bfd);
if (arch_size == -1) /* failure */
return 0;
@@ -1491,7 +1491,7 @@ info_sharedlibrary_command (ignore, from_tty)
return;
}
- arch_size = bfd_elf_get_arch_size (exec_bfd);
+ arch_size = bfd_get_arch_size (exec_bfd);
/* Default to 32-bit in case of failure (non-elf). */
if (arch_size == 32 || arch_size == -1)
{