2004-05-01 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 1 May 2004 14:00:57 +0000 (14:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 1 May 2004 14:00:57 +0000 (14:00 +0000)
commit9df0bb3faba76b360eb00fc468c62a7ebb469586
treeea60f1f33704f97fa2341fa4061a980cb4cfed1c
parent8c6b0e0607561669f0290799833e2a80a5978a81
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(frv_linux_sigtramp_frame_cache)
(frv_linux_sigtramp_frame_this_id)
(frv_linux_sigtramp_frame_prev_register)
(frv_linux_sigtramp_frame_unwind)
(frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
include "linux" in function and variable names, directly call
frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
the latest trad-frame code.
(frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
* Makefile.in (frv-linux-tdep.o): Update dependencies.
* frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
* frv-tdep.c (frv_sigtramp_frame_cache)
(frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
(frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
frv-linux-tdep.c.
(frv_gdbarch_init): Do not append a sigtramp sniffer.
(struct gdbarch_tdep): Delete sigcontext_reg_addr.
(frv_set_sigcontext_reg_addr): Delete function.
gdb/ChangeLog
gdb/Makefile.in
gdb/frv-linux-tdep.c
gdb/frv-tdep.c
gdb/frv-tdep.h