Re: [patch 3/3, nios2] fixes for new implementation of signal handler trampolines

Sandra Loosemore
2015-04-23T19:11:47Z

On 04/23/2015 12:59 PM, Sandra Loosemore wrote:

> @@ -204,14 +251,8 @@ extern initialize_file_ftype _initialize_nios2_linux_tdep;
> void
> _initialize_nios2_linux_tdep (void)
> {
> -
> - const struct bfd_arch_info *arch_info;
> -
> - for (arch_info = bfd_lookup_arch (bfd_arch_nios2, 0);
> - arch_info != NULL;
> - arch_info = arch_info->next)
> - gdbarch_register_osabi (bfd_arch_nios2, arch_info->mach,
> - GDB_OSABI_LINUX, nios2_linux_init_abi);
> + gdbarch_register_osabi (bfd_arch_nios2, 0, GDB_OSABI_LINUX,
> + nios2_linux_init_abi);
>
> initialize_tdesc_nios2_linux ();
> }

Ooops, please ignore this patch hunk -- I generated this patch against
the wrong base after reverting a change that turned out to be
unnecessary on mainline head.

-Sandra