From 34f07efe01f9a598ec3fb1f521bb7347b44349c8 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sun, 12 Dec 1993 00:03:31 +0000 Subject: [PATCH] * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep. (DECP_PC_AFTER_BREAK): Now is 0. --- gdb/config/h8300/tm-h8300.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index c80df2f4bd6..3356008f713 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -77,12 +77,13 @@ extern CORE_ADDR h8300_skip_prologue (); #define INNER_THAN < -#define BREAKPOINT {0x7A, 0xFF} +/*#define BREAKPOINT {0x7A, 0xFF}*/ +#define BREAKPOINT {0x01, 0x80} /* Sleep */ /* If your kernel resets the pc after the trap happens you may need to - define this before including this file. */ + define this before including this file. */ -#define DECR_PC_AFTER_BREAK 2 +#define DECR_PC_AFTER_BREAK 0 /* Nonzero if instruction at PC is a return instruction. */ /* Allow any of the return instructions, including a trapv and a return @@ -254,4 +255,4 @@ typedef unsigned short INSN_WORD; #define GDB_TARGET_IS_H8300 #define NUM_REALREGS 10 -#define NOP {0,0} +#define NOP { 0x01, 0x80} /* A sleep insn */ -- 2.30.2