On Mon, May 13, 2002 at 12:08:40PM -0700, Jason R Thorpe wrote: > Ok, I think it's reached the point where I'd like to ask for formal > approval. FYI... I went ahead and converted the ARM target, as well, as it provides an example of an OS ABI sniffer. * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use gdbarch_register_osabi. * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, get_elfosabi, arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. (arm_gdbarch_init): Use the generic OS ABI framework. (arm_dump_tdep): Likewise. (_initialize_arm_tdep): Likewise. * arm-tdep.h (arm_abi): Remove. (gdbarch_tdep): Remove arm_abi and abi_name members. Add osabi member. (arm_gdbarch_register_os_abi): Remove prototype. * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. (_initialize_arm_netbsd_tdep): Use the generic OS ABI framework. -- -- Jason R. Thorpe