+2000-08-30 Kevin Buettner <kevinb@redhat.com>
+
+ * solib.c (solib_extract_address, LM_ADDR, LM_NEXT, LM_NAME,
+ LM_ADDR, IGNORE_FIRST_LINK_MAP_ENTRY, first_link_map_member,
+ open_symbol_file_object, current_sos): Rename
+ bfd_elf_get_arch_size to bfd_get_arch_size().
+ * sol-thread.c (rw_common, ps_pdmodel): Likewise.
+
2000-08-30 David Edelsohn <dje@watson.ibm.com>
Patch applied by Kevin Buettner <kevinb@redhat.com>:
solib_extract_address (void *memberp)
{
return extract_address (memberp,
- bfd_elf_get_arch_size (exec_bfd) / 8);
+ bfd_get_arch_size (exec_bfd) / 8);
}
#define SOLIB_EXTRACT_ADDRESS(MEMBER) \
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.lm_addr, sizeof (so->lm32.lm_addr));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.lm_next, sizeof (so->lm32.lm_next));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.lm_name, sizeof (so->lm32.lm_name));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.l_addr, sizeof (so->lm32.l_addr));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.l_next, sizeof (so->lm32.l_next));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return extract_address (&so->lm32.l_name, sizeof (so->lm32.l_name));
else
#endif
struct so_list *so;
{
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
return (solib_extract_address (&(so) -> lm32.l_prev) == 0);
else
#endif
#else /* SVR4_SHARED_LIBS */
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
{
read_memory (debug_base, (char *) &debug32_copy,
sizeof (struct r_debug32));
return 0; /* failed somehow... */
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
{
struct link_map32 lmcopy;
/* Read from target memory to GDB. */
new->lmaddr = lm;
#if defined (HAVE_STRUCT_LINK_MAP32)
- if (bfd_elf_get_arch_size (exec_bfd) == 32)
+ if (bfd_get_arch_size (exec_bfd) == 32)
read_memory (lm, (char *) &(new->lm32), sizeof (struct link_map32));
else
#endif