gdb/ChangeLog:
* vax-bsd-nat.c (vaxbsd_supply_gregset): Cast gregs to const gdb_byte *.
* vax-bsd-nat.c (vaxbsd_collect_gregset): Cast gregs to void *.
+2020-03-14 Kamil Rytarowski <n54@gmx.com>
+
+ * vax-bsd-nat.c (vaxbsd_supply_gregset): Cast gregs to const gdb_byte *.
+ * vax-bsd-nat.c (vaxbsd_collect_gregset): Cast gregs to void *.
+
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target
static void
vaxbsd_supply_gregset (struct regcache *regcache, const void *gregs)
{
- const gdb_byte *regs = gregs;
+ const gdb_byte *regs = (const gdb_byte *)gregs;
int regnum;
for (regnum = 0; regnum < VAX_NUM_REGS; regnum++)
vaxbsd_collect_gregset (const struct regcache *regcache,
void *gregs, int regnum)
{
- gdb_byte *regs = gregs;
+ gdb_byte *regs = (void *)gregs;
int i;
for (i = 0; i <= VAX_NUM_REGS; i++)