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] Generic OS ABI handling for PowerPC


This makes the PowerPC/RS6000 target use the generic OS ABI framework,
and also moves some SVR4 ABI stuff out of ppc-linux-tdep.c into
rs6000-tdep.c.

OK to commit?

	* Makefile.in (ppc_tdep_h): Define.
	(ppc-linux-nat.o, ppc-linux-tdep.o, rs6000-tdep.o): Use $(ppc_tdep_h).
	* ppc-tdep.h: Use generic OS ABI framework.
	* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
	ppc_linux_init_abi): New functions.
	(ppc_sysv_abi_broken_use_struct_convention,
	ppc_sysv_abi_use_struct_convention,
	ppc_sysv_abi_push_arguments): Move to...
	* rs6000-tdep.c: ...here.
	(process_note_abi_tag_sections, get_elfosabi): Remove.
	(rs6000_gdbarch_init): Use generic OS ABI framework.
	(rs6000_dump_tdep): New function.
	(_initialize_rs6000_tdep): Use gdbarch_register.

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

Attachment: ppc-patch
Description: Text document


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