Re: [rfa/mips] Shared library trampoline support for mips-linux

Andrew Cagney
2004-02-10T23:38:51Z

> - /* Hook in OS ABI-specific overrides, if they have been registered. */
> - gdbarch_init_osabi (info, gdbarch);
> -
> set_gdbarch_skip_trampoline_code (gdbarch, mips_skip_stub);
>
> set_gdbarch_in_solib_call_trampoline (gdbarch, mips_in_call_stub);
> set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_return_stub);

Assuming that the default is no OS, I'm actually wondering why these are
set at all.

> + /* Hook in OS ABI-specific overrides, if they have been registered. */
> + gdbarch_init_osabi (info, gdbarch);

> +#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
> +#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)

ulgh, still not multi-arched :-(

Andrew