diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-10-29 21:31:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-10-29 21:31:45 +0000 |
commit | e6aacd49dd5862072508b32df27f815293616589 (patch) | |
tree | 88a0e226d2c0c49d9a2fcd9632b2b1f5615d92ff /gdb/hppa-tdep.h | |
parent | 6501214445c1d829bd54daf8efc8531782450a29 (diff) | |
download | gdb-e6aacd49dd5862072508b32df27f815293616589.tar.gz |
* 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |