Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE
[binutils-gdb.git] / gdb / i387-tdep.c
index b0c48e4423bc35e7056533db5c4cb6d1166bfa78..c986e39ccdb93c8309f4fc6732997cc7805303b2 100644 (file)
@@ -912,7 +912,7 @@ i387_supply_xsave (struct regcache *regcache, int regnum,
   const gdb_byte *regs = (const gdb_byte *) xsave;
   int i;
   ULONGEST clear_bv;
-  static const gdb_byte zero[MAX_REGISTER_SIZE] = { 0 };
+  static const gdb_byte zero[I386_MAX_REGISTER_SIZE] = { 0 };
   enum
     {
       none = 0x0,