From: Steve Chamberlain Date: Fri, 15 Apr 1994 18:41:05 +0000 (+0000) Subject: * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e2b27790cb8abe6951e321197bdfeb844579867;p=binutils-gdb.git * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode. --- diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index de316320001..1be176264cb 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -59,11 +59,12 @@ extern CORE_ADDR sh_skip_prologue (); detection */ #define BREAKPOINT {0xc3, 0xff} /* 0xc3ff is trapa #ff */ - +#undef BREAKPOINT +#define BREAKPOINT {0x00, 0x1b} /* SLEEP */ /* If your kernel resets the pc after the trap happens you may need to 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. */ #define ABOUT_TO_RETURN(pc) (read_memory_integer(pc,2) == 0x000b)