* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Handle
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 2 May 2008 23:24:44 +0000 (23:24 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 2 May 2008 23:24:44 +0000 (23:24 +0000)
commit93d4208d62742d98e665ea6fded3c0dde9011564
treebb1f001e668aaa6083d3afc245d6ba2cc6ff9c59
parent60c5725ca96c0d9c347f04d37f0e1f6d0f263f41
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Handle
TYPE_CODE_BOOL and TYPE_CODE_CHAR the same as TYPE_CODE_INT.
Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
Handle TYPE_CODE_METHOD the same as TYPE_CODE_FUNC.
Allow typedefs when checking for function pointer arguments.
Right-align small structs passed on the stack.
(ppc64_sysv_abi_return_value): Handle TYPE_CODE_BOOL and
TYPE_CODE_CHAR the same as TYPE_CODE_INT.
Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
gdb/ChangeLog
gdb/ppc-sysv-tdep.c