* ia64-tdep.c: Include "osabi.h".
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 5 Jan 2005 22:51:47 +0000 (22:51 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 5 Jan 2005 22:51:47 +0000 (22:51 +0000)
commitb33e8514836a6724b54d50f1cc42fea9ffc923b0
treee31e62a73699274c5c6ba8805ed53fc3a7669c1a
parente54b12b7797ece3410070f0d634b8ba9117dc1e1
* ia64-tdep.c: Include "osabi.h".
(native_find_global_pointer): Delete.
(ia64_find_global_pointer): Renamed from
generic_elf_find_global_pointer.
(FIND_GLOBAL_POINTER): Delete.  Change all users to call
ia64_find_global_pointer instead.
(ia64_gdbarch_init): Call gdbarch_init_osabi.  Remove references
to ia64_linux_sigcontext_register_address and
ia64_linux_write_pc.  Don't set tdep->find_global_pointer.
(_initialize_ia64_tdep): Call gdbarch_register instead of
deprecated register_gdbarch_init.
(struct gdbarch_tdep): Remove find_global_pointer field and move
to ...
* ia64-tdep.h (struct gdbarch_tdep): ... here.
(ia64_linux_sigcontext_register_address): Remove declaration.
(ia64_linux_getunwind_table): Likewise.
(ia64_linux_write_pc): Likewise.
* ia64-linux-tdep.c: Include "osabi.h".
(ia64_linux_sigcontext_register_address): Make static.
(ia64_linux_write_pc): Likewise.
(ia64_linux_init_abi): New.
(_initialize_ia64_linux_tdep): New.
* Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
$(osabi_h).
gdb/ChangeLog
gdb/Makefile.in
gdb/ia64-linux-tdep.c
gdb/ia64-tdep.c
gdb/ia64-tdep.h