This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/RFA] Add OS/ABI infrastructure to SuperH target


The following adds OS/ABI handling a'la the ARM and Alpha targets
to the SuperH target.

Once this is in, I'll be able to commit my NetBSD/sh variant.

OK to commit?

	* sh-tdep.c (sh_abi_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_abi): Declare.
	(gdbarch_tdep): Add sh_abi and abi_name members.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: sh-abi-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]