summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-31 00:39:10 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-31 00:39:10 +0000
commit9d4d073e780f002a3a56e7f0c664b6e2e9a57f5c (patch)
treee2e9890acc50ab9175d5773bffe810e67836c302 /gdb/sol-thread.c
parent32be010d5820c047c92949ee3473c1fc92d111cb (diff)
downloadgdb-9d4d073e780f002a3a56e7f0c664b6e2e9a57f5c.tar.gz
Rename bfd_elf_get_arch_size to bfd_get_arch_size().
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 3e5014e4acd..dc90979d15c 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1048,7 +1048,7 @@ rw_common (int dowrite, const struct ps_prochandle *ph, gdb_ps_addr_t addr,
#if defined (__sparcv9)
/* For Sparc64 cross Sparc32, make sure the address has not been
accidentally sign-extended (or whatever) to beyond 32 bits. */
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
addr &= 0xffffffff;
#endif
@@ -1320,7 +1320,7 @@ ps_pdmodel (gdb_ps_prochandle_t ph, int *data_model)
if (exec_bfd == 0)
return PS_ERR;
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
*data_model = PR_MODEL_ILP32;
else
*data_model = PR_MODEL_LP64;