aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-h8300.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-01-03 22:36:04 +0000
committerSteve Chamberlain <sac@cygnus>1993-01-03 22:36:04 +0000
commitec25d19bd6ae55325745802d87cdad4706d9739e (patch)
treeba57755d8d3e1f5088b4a2f25be7c25f76043796 /gdb/tm-h8300.h
parentfb6e675f95e39ecf9f8664861b64243001fc0a11 (diff)
downloadgdb-ec25d19bd6ae55325745802d87cdad4706d9739e.zip
gdb-ec25d19bd6ae55325745802d87cdad4706d9739e.tar.gz
gdb-ec25d19bd6ae55325745802d87cdad4706d9739e.tar.bz2
* remote-sim.c: first attempt at general simulator interface
* remote-hms.c: whitespace * h8300-tdep.c: (h8300_skip_prologue, examine_prologue): understand new stack layout. (print_register_hook): print ccr register in a fancy way.
Diffstat (limited to 'gdb/tm-h8300.h')
-rw-r--r--gdb/tm-h8300.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/gdb/tm-h8300.h b/gdb/tm-h8300.h
index f46f29a..5678c4a 100644
--- a/gdb/tm-h8300.h
+++ b/gdb/tm-h8300.h
@@ -77,17 +77,8 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2))
#define INNER_THAN <
-/* Sequence of bytes for breakpoint instruction.
- This is a TRAP instruction. The last 4 bits (0xf below) is the
- vector. Systems which don't use 0xf should define BPT_VECTOR
- themselves before including this file. */
-
-#define BPT_VECTOR 0xf
-
-
-
-#define BREAKPOINT {0x4e, (0x40 | BPT_VECTOR)}
+#define BREAKPOINT {0x53, 0x00}
/* If your kernel resets the pc after the trap happens you may need to
@@ -305,3 +296,6 @@ typedef unsigned short INSN_WORD;
#define read_memory_short(x) (read_memory_integer(x,2) & 0xffff)
#define DONT_USE_REMOTE
+
+#define PRINT_REGISTER_HOOK(regno) print_register_hook(regno)
+