Set the sizes of the basic types that do not match the defaults
authorMichael Meissner <gnu@the-meissners.org>
Fri, 27 Sep 1996 17:35:59 +0000 (17:35 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Fri, 27 Sep 1996 17:35:59 +0000 (17:35 +0000)
gdb/ChangeLog
gdb/config/d10v/tm-d10v.h

index 3121908ae50b9b0d568cda3a17ea250113c112f9..e35685fc164bbede80d11e478a6b0f4411291e38 100644 (file)
@@ -1,3 +1,10 @@
+start-sanitize-d10v
+Fri Sep 27 13:32:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
+       (TARGET_{,LONG_}DOUBLE_BIT): Ditt.
+
+end-sanitize-d10v
 Thu Sep 26 23:10:26 1996  Mark Alexander  <marka@cygnus.com>
 
        * configure.in, config/i386/tm-linux.h: Fix configure
index 959c5a5b573cab15c71f079c535b05a0bec5e629..eb508e2db66f78e04cbb05a207e93ae29357a6cb 100644 (file)
@@ -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)