aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-07 18:04:11 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-07 18:04:11 +0000
commitcc72850f95d062076e557cba1a4a402d45f0b548 (patch)
treefb89db7842d00c8118cafbd8bb6c3e4e8e035d37 /gdb/hppa-tdep.h
parentcb9faf63f8bbbba7d825217184007ad0061e8ce2 (diff)
downloadgdb-cc72850f95d062076e557cba1a4a402d45f0b548.zip
gdb-cc72850f95d062076e557cba1a4a402d45f0b548.tar.gz
gdb-cc72850f95d062076e557cba1a4a402d45f0b548.tar.bz2
* 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.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 857b874..a0632de 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -209,4 +209,9 @@ hppa_frame_prev_register_helper (struct frame_info *next_frame,
enum lval_type *lvalp, CORE_ADDR *addrp,
int *realnump, void *valuep);
+extern CORE_ADDR hppa_read_pc (ptid_t ptid);
+extern void hppa_write_pc (CORE_ADDR pc, ptid_t ptid);
+extern CORE_ADDR hppa_unwind_pc (struct gdbarch *gdbarch,
+ struct frame_info *next_frame);
+
#endif /* HPPA_TDEP_H */