aboutsummaryrefslogtreecommitdiff
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
commit359431fb6d3c93159d62b683885b097e6e3999e1 (patch)
tree6df37720905a94b9255914987ad18655a340dea4 /gdb/sol-thread.c
parent6a84a0f95eb24adddd628579394bdc272a2c9329 (diff)
downloadgdb-359431fb6d3c93159d62b683885b097e6e3999e1.zip
gdb-359431fb6d3c93159d62b683885b097e6e3999e1.tar.gz
gdb-359431fb6d3c93159d62b683885b097e6e3999e1.tar.bz2
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 3e5014e..dc90979 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;