aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-h8300.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-24 02:37:13 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-24 02:37:13 +0000
commit400943fbac9324c093fb83c44c4d08d1fc770945 (patch)
tree16da467afdc7ddb9716d52c3e52f83a9f6e31cb3 /gdb/tm-h8300.h
parent8174b2afcf1392e7abe31a3760ca61251b3e4681 (diff)
downloadgdb-400943fbac9324c093fb83c44c4d08d1fc770945.zip
gdb-400943fbac9324c093fb83c44c4d08d1fc770945.tar.gz
gdb-400943fbac9324c093fb83c44c4d08d1fc770945.tar.bz2
One step closer.
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();