* m68k-tdep.c (m68k_register_raw_size): Remove cast.
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 May 2003 18:50:55 +0000 (18:50 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 May 2003 18:50:55 +0000 (18:50 +0000)
commiteb2e12d711192f4fffab8ae75ed40701b42e0bc9
treeea6d060eda7c4928dc82b27a71b0c7bbcd7855cd
parenteb2c22dc71e524e1230c61c55a35b98a27edce85
* m68k-tdep.c (m68k_register_raw_size): Remove cast.
(m68k_register_virtual_size): Likewise.
(altos_skip_prologue): Remove obsolete function.
(isi_frame_num_args): Likewise.
(news_frame_num_args): Likewise.
(m68k_fix_call_dummy): Make static.
(m68k_push_dummy_frame): Likewise.
(m68k_pop_frame): Likewise.
(m68k_skip_prologue): Likewise.
(m68k_frame_init_saved_regs): Likewise.
(m68k_saved_pc_after_call): Likewise.
(m68k_get_longjmp_target): Make multi-arch.
(m68k_gdbarch_init): Allocate and initialize gdbarch_tdep
structure.  Register m68k_get_longjmp_target if enabled.
* m68k-tdep.h (struct gdbarch_tdep): Define.
* config/m68k/tm-m68k.h: Don't include "regcache.h".

* Makefile.in (config.status): Also depend on configure.tgt
and configure.host.
(m68klinux-tdep.o): Update dependencies.
* configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1.
* m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define.
(M68K_LINUX_JB_PC): Define.
(m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp
and take additional parameter.
(m68k_linux_sigtramp_saved_pc): Update.
(m68k_linux_init_abi): Set jb_pc and jb_elt_size.  Register
m68k_linux_pc_in_sigtramp, in_plt_section,
find_solib_trampoline_target.
* config/m68k/tm-linux.h: Don't include any tm headers.
(START_INFERIOR_TRAPS_EXPECTED): Remove definition.
(JB_ELEMENT_SIZE): Likewise.
(JB_PC): Likewise.
(GET_LONGJMP_TARGET): Likewise.
(IN_SIGTRAMP): Likewise.
(SVR4_SHARED_LIBS): Define this and include "solib.h".
gdb/ChangeLog
gdb/Makefile.in
gdb/config/m68k/tm-linux.h
gdb/config/m68k/tm-m68k.h
gdb/configure.tgt
gdb/m68k-tdep.c
gdb/m68k-tdep.h
gdb/m68klinux-tdep.c