New file. (stan said I could put it here)
This commit is contained in:
parent
7e01f50c14
commit
7f4b5f94dd
3 changed files with 1556 additions and 0 deletions
|
@ -23,6 +23,7 @@ Things-to-keep:
|
|||
|
||||
sh.mt
|
||||
tm-sh.h
|
||||
stub.c
|
||||
|
||||
Things-to-lose:
|
||||
|
||||
|
|
1553
gdb/config/sh/stub.c
Normal file
1553
gdb/config/sh/stub.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -61,6 +61,7 @@ extern CORE_ADDR sh_skip_prologue ();
|
|||
#define BREAKPOINT {0xc3, 0xff} /* 0xc3ff is trapa #ff */
|
||||
#undef BREAKPOINT
|
||||
#define BREAKPOINT {0x00, 0x1b} /* SLEEP */
|
||||
#define REMOTE_BREAKPOINT { 0xc3, 0x20}
|
||||
|
||||
/* If your kernel resets the pc after the trap happens you may need to
|
||||
define this before including this file. */
|
||||
|
@ -222,3 +223,4 @@ typedef unsigned short INSN_WORD;
|
|||
#define NOP {0x20, 0x0b}
|
||||
|
||||
#define REGISTER_SIZE 4
|
||||
|
||||
|
|
Loading…
Reference in a new issue