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: [ppc64-linux]: register CONVERT_FROM_FUNC_PTR_ADDR method



OTOH, there's been a recent trend towards separating this kind of
thing out for different ABIs.  E.g, look at all of push_argument
variants in mips-tdep.c.  At one time, not too long ago, all of
the push_argument() variants were rolled into one big function.
(There are some other MIPS related examples that are somewhat
less extreme.)  The reason that this was done is so that fixes
may be made to the support of a given ABI without having to worry
about breaking the support for the other ABIs.

The MIPS has a bit of an ABI explosion problem - 4 ABIs X 32x64 X LExBE X FPU X several things I've forgotten. I don't the PPC has reached that point yet :-)


Andrew




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