aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-h8300.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-h8300.h')
-rw-r--r--gdb/tm-h8300.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/tm-h8300.h b/gdb/tm-h8300.h
index 8185e40..fdba3ea 100644
--- a/gdb/tm-h8300.h
+++ b/gdb/tm-h8300.h
@@ -90,7 +90,7 @@ read_memory_integer (read_register (SP_REGNUM), 2)
/* Say how long registers are. */
-#define REGISTER_TYPE short
+#define REGISTER_TYPE unsigned short
# define NUM_REGS 10
# define REGISTER_BYTES (10*2)
@@ -262,3 +262,6 @@ read_memory_integer (read_register (SP_REGNUM), 2)
#define POP_FRAME { h8300_pop_frame (); }
+
+#define BEFORE_MAIN_LOOP_HOOK \
+ hms_before_main_loop();