* sh-tdep.c (sh_osabi_names): Declare.
authorJason Thorpe <thorpej@netbsd.org>
Wed, 8 May 2002 14:54:03 +0000 (14:54 +0000)
committerJason Thorpe <thorpej@netbsd.org>
Wed, 8 May 2002 14:54:03 +0000 (14:54 +0000)
commitd658f92455f2ea77eb2c9723ecfbc235c40df6c0
tree3959d1dd90a6c9093349c58fb222e4133f91634b
parentc8615825e34159add59c5c910a3da5c78b366654
* sh-tdep.c (sh_osabi_names): Declare.
(process_note_abi_tag_sections): New function.
(get_elfosabi): Ditto.
(sh_gdbarch_register_os_abi): Ditto.
(sh_dump_tdep): Ditto.
_initialize_sh_tdep): Use gdbarch_register to register
sh_gdbarch_init and sh_dump_tdep.
* config/sh/tm-sh.h (sh_osabi): Declare.
(gdbarch_tdep): Add sh_osabi and osabi_name members.
gdb/ChangeLog
gdb/config/sh/tm-sh.h
gdb/sh-tdep.c