aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-10-29 21:31:45 +0000
committerMark Kettenis <kettenis@gnu.org>2005-10-29 21:31:45 +0000
commitd275c05160ec1175a47df7ea43762ae327e784d7 (patch)
tree07f09b595053010ac1a3b2aebff3eab96775ae25 /gdb/hppa-tdep.h
parent7c35e3f307bcad29d248a4d40e8c50a4c4a8d4f0 (diff)
downloadgdb-d275c05160ec1175a47df7ea43762ae327e784d7.zip
gdb-d275c05160ec1175a47df7ea43762ae327e784d7.tar.gz
gdb-d275c05160ec1175a47df7ea43762ae327e784d7.tar.bz2
* 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).
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index 484a2d5..2e5227b 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
{