disasm: split dump_insns
[deliverable/binutils-gdb.git] / gdb / armbsd-tdep.c
index 7923cadd10109c09268449c9f1c8bae39f924b3c..1b9bad7896918b49880c6a4f425d11e72410affc 100644 (file)
@@ -50,7 +50,7 @@ armbsd_supply_fpregset (const struct regset *regset,
                        struct regcache *regcache,
                        int regnum, const void *fpregs, size_t len)
 {
-  const gdb_byte *regs = fpregs;
+  const gdb_byte *regs = (const gdb_byte *) fpregs;
   int i;
 
   gdb_assert (len >= ARMBSD_SIZEOF_FPREGS);
@@ -71,7 +71,7 @@ armbsd_supply_gregset (const struct regset *regset,
                       struct regcache *regcache,
                       int regnum, const void *gregs, size_t len)
 {
-  const gdb_byte *regs = gregs;
+  const gdb_byte *regs = (const gdb_byte *) gregs;
   int i;
 
   gdb_assert (len >= ARMBSD_SIZEOF_GREGS);
@@ -98,7 +98,9 @@ armbsd_supply_gregset (const struct regset *regset,
 static const struct regset armbsd_gregset =
 {
   NULL,
-  armbsd_supply_gregset
+  armbsd_supply_gregset,
+  NULL,
+  REGSET_VARIABLE_SIZE
 };
 
 static const struct regset armbsd_fpregset =
This page took 0.024149 seconds and 4 git commands to generate.