/* Target-dependent code for GNU/Linux on Nios II.
- Copyright (C) 2012-2017 Free Software Foundation, Inc.
+ Copyright (C) 2012-2018 Free Software Foundation, Inc.
Contributed by Mentor Graphics, Inc.
This file is part of GDB.
#include "glibc-tdep.h"
#include "nios2-tdep.h"
-#include "features/nios2-linux.c"
-
/* Core file and register set support. */
/* Map from the normal register enumeration order to the order that
if (regnum == -1 || regnum == regno)
{
if (reg_offsets[regno] != -1)
- regcache_raw_supply (regcache, regno,
- gregs + 4 * reg_offsets[regno]);
+ regcache->raw_supply (regno, gregs + 4 * reg_offsets[regno]);
else
- regcache_raw_supply (regcache, regno, zero_buf);
+ regcache->raw_supply (regno, zero_buf);
}
}
if (regnum == -1 || regnum == regno)
{
if (reg_offsets[regno] != -1)
- regcache_raw_collect (regcache, regno,
- gregs + 4 * reg_offsets[regno]);
+ regcache->raw_collect (regno, gregs + 4 * reg_offsets[regno]);
}
}
arch_info = arch_info->next)
gdbarch_register_osabi (bfd_arch_nios2, arch_info->mach,
GDB_OSABI_LINUX, nios2_linux_init_abi);
-
- initialize_tdesc_nios2_linux ();
}