* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
authorPeter Schauer <Peter.Schauer@mytum.de>
Thu, 26 Oct 2000 07:41:25 +0000 (07:41 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Thu, 26 Oct 2000 07:41:25 +0000 (07:41 +0000)
commitf517ea4ebb7d0c85a5c7850757b2f1d6716e2dcf
tree7a72b4773df10c1d31950a0509650a314b8e6816
parentba181e2f16dcf24ec7336b1f358f54fce72af42b
* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
New function.
* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
* gdbarch.c, gdbarch.h:  Regenerate.
* valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
unconditionally.

* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
definition.
* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
undef.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
(rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
if not ELFOSABI_LINUX.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/config/powerpc/tm-linux.h
gdb/config/rs6000/tm-rs6000.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/rs6000-tdep.c
gdb/valops.c