From d275c05160ec1175a47df7ea43762ae327e784d7 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 29 Oct 2005 21:31:45 +0000 Subject: * hppa-tdep.h (HPPA_INSN_SIZE): New define. * hppa-hpux-tdep.c (hppa_hpux_search_pattern) (hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid assumption on sizeof(unsigned). --- gdb/hppa-tdep.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/hppa-tdep.h') diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index 484a2d50439..2e5227b75ba 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -75,6 +75,9 @@ enum hppa_regnum HPPA_ARG3_REGNUM = 23 /* The fourth argument of a callee. */ }; +/* Instruction size. */ +#define HPPA_INSN_SIZE 4 + /* Target-dependent structure in gdbarch. */ struct gdbarch_tdep { -- cgit v1.2.1