aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/d10v
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-09-27 17:35:59 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-09-27 17:35:59 +0000
commitd266afa9942fea3dfef06afac51352009dc8b2cb (patch)
treec7f37437be876001a99b19467f4c569d831b3113 /gdb/config/d10v
parent54225fd0232b294f637682f91d58b35c8f5cbda5 (diff)
downloadgdb-d266afa9942fea3dfef06afac51352009dc8b2cb.zip
gdb-d266afa9942fea3dfef06afac51352009dc8b2cb.tar.gz
gdb-d266afa9942fea3dfef06afac51352009dc8b2cb.tar.bz2
Set the sizes of the basic types that do not match the defaults
Diffstat (limited to 'gdb/config/d10v')
-rw-r--r--gdb/config/d10v/tm-d10v.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h
index 959c5a5..eb508e2 100644
--- a/gdb/config/d10v/tm-d10v.h
+++ b/gdb/config/d10v/tm-d10v.h
@@ -220,3 +220,10 @@ CORE_ADDR d10v_read_register_pid PARAMS ((int regno, int pid));
#define TARGET_READ_PC(pid) d10v_read_register_pid (PC_REGNUM, pid)
#define TARGET_WRITE_PC(val,pid) d10v_write_register_pid (PC_REGNUM, val, pid)
+
+
+/* Number of bits in the appropriate type */
+#define TARGET_INT_BIT (2 * TARGET_CHAR_BIT)
+#define TARGET_PTR_BIT (2 * TARGET_CHAR_BIT)
+#define TARGET_DOUBLE_BIT (4 * TARGET_CHAR_BIT)
+#define TARGET_LONG_DOUBLE_BIT (8 * TARGET_CHAR_BIT)