diff options
author | Steve Chamberlain <sac@cygnus> | 1994-04-15 18:41:05 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-04-15 18:41:05 +0000 |
commit | 2e2b27790cb8abe6951e321197bdfeb844579867 (patch) | |
tree | a856ab4e83e0d072f964f3755fea8b56860a8c2c /gdb/config | |
parent | 37032d95999c177eb45e2b196f3c8e5edfcafd1b (diff) | |
download | gdb-2e2b27790cb8abe6951e321197bdfeb844579867.zip gdb-2e2b27790cb8abe6951e321197bdfeb844579867.tar.gz gdb-2e2b27790cb8abe6951e321197bdfeb844579867.tar.bz2 |
* config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sh/tm-sh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index de31632..1be1762 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) |