[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-patches
Subject: [PATCH 2/3] Add ILP32 support to gdb.
From: schwab () suse ! de (Andreas Schwab)
Date: 2016-08-30 7:44:00
Message-ID: mvminuiln0a.fsf () hawking ! suse ! de
[Download RAW message or body]
On Aug 30 2016, Andrew Pinski <apinski@cavium.com> wrote:
> @@ -2695,6 +2696,11 @@ aarch64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
> return NULL;
> }
>
> + if (info.abfd
> + && bfd_get_flavour (info.abfd) == bfd_target_elf_flavour
> + && elf_elfheader (info.abfd)->e_ident[EI_CLASS] == ELFCLASS32)
> + ilp32 = TRUE;
> +
Shouldn't this use bfd_arch_bits_per_address?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic