* config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
authorSteve Chamberlain <sac@cygnus>
Sun, 12 Dec 1993 00:03:31 +0000 (00:03 +0000)
committerSteve Chamberlain <sac@cygnus>
Sun, 12 Dec 1993 00:03:31 +0000 (00:03 +0000)
(DECP_PC_AFTER_BREAK): Now is 0.

gdb/config/h8300/tm-h8300.h

index c80df2f4bd6ba966a21a022c1cb8face197251c0..3356008f7137fcd44af685ea7eb958a14e1d031a 100644 (file)
@@ -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 */