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]

Re: ppc-po-tdep.c?


On Sep 12, 3:52pm, Andrew Cagney wrote:


What do you think of a second ABI file (ppc-po-tdep.c?) along the lines of ppc-sysv-tdep.c that would contain the "AIX" / "Apple" / "PowerOpen" / "SYSVr4 PPC64" ABIs (they are all a close fit).


I think this is a good idea.  The name you've suggested is okay with
me also.

As I suggested to Jimi a few days ago, I'd like to eventually see the
generic PPC code moved to its own file.  The remainder of
rs6000-tdep.c would then be AIX specific and this file could be
renamed to ppc-aix-tdep.c.

BTW, I'm really tempted by the names:


	ppc-aix-abi.[ch]
	ppc-svr4-abi.[ch]

as that really reflect what's going on. (ppc-sysv, isn't right - it is only for release 4 of system 5.

Andrew



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