* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
authorMark Kettenis <kettenis@gnu.org>
Tue, 7 Dec 2004 18:04:11 +0000 (18:04 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 7 Dec 2004 18:04:11 +0000 (18:04 +0000)
commitcc72850f95d062076e557cba1a4a402d45f0b548
treefb89db7842d00c8118cafbd8bb6c3e4e8e035d37
parentcb9faf63f8bbbba7d825217184007ad0061e8ce2
* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
prototypes.
* hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc.
Make global.  Remove HP-UX specific code.  Use
frame_unwind_register_unsigned instead of
frame_unwind_register_signed.
(hppa_write_pc): Rename from hppa_target_write_pc.  Make global.
Remove HP-UX specific code.
(hppa_unwind_pc): Make global.  Remove HP-UX specific code.
(hppa_frame_prev_register_helper): Set "flags" register to zero
for all unwound frames.
(hppa_gdbarch_init): Adjust.
* hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define.
(hppa_hpux_read_pc, hppa_hpux_write_pc)
(hppa_hpux_unwind_pc): New functions.
(hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.
gdb/ChangeLog
gdb/hppa-hpux-tdep.c
gdb/hppa-tdep.c
gdb/hppa-tdep.h