X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgdbserver%2Flinux-xtensa-low.c;h=4dacceebc718e5a5af576ca80753e8ef83f880ba;hb=835a09d99d585bfdc9f760970908e10bd8b2fec2;hp=6083f337a87df86268d167ee21a3d25e212d791d;hpb=3aee891821f538cfb4e0a08a26196c70127f1474;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c index 6083f337a8..4dacceebc7 100644 --- a/gdb/gdbserver/linux-xtensa-low.c +++ b/gdb/gdbserver/linux-xtensa-low.c @@ -1,5 +1,5 @@ /* GNU/Linux/Xtensa specific low level interface, for the remote server for GDB. - Copyright (C) 2007-2013 Free Software Foundation, Inc. + Copyright (C) 2007-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -24,7 +24,7 @@ void init_registers_xtensa (void); extern const struct target_desc *tdesc_xtensa; -#include +#include #include #include "xtensa-xtregs.c" @@ -59,7 +59,7 @@ xtensa_fill_gregset (struct regcache *regcache, void *buf) /* Loop registers, if hardware has it. */ -#if XCHAL_HAVE_LOOP +#if XCHAL_HAVE_LOOPS collect_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]); collect_register_by_name (regcache, "lend", (char*)&rset[R_LEND]); collect_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]); @@ -94,7 +94,7 @@ xtensa_store_gregset (struct regcache *regcache, const void *buf) /* Loop registers, if hardware has it. */ -#if XCHAL_HAVE_LOOP +#if XCHAL_HAVE_LOOPS supply_register_by_name (regcache, "lbeg", (char*)&rset[R_LBEG]); supply_register_by_name (regcache, "lend", (char*)&rset[R_LEND]); supply_register_by_name (regcache, "lcount", (char*)&rset[R_LCOUNT]); @@ -186,16 +186,10 @@ static struct regsets_info xtensa_regsets_info = NULL, /* disabled_regsets */ }; -static struct usrregs_info xtensa_usrregs_info = - { - xtensa_num_regs, - xtensa_regmap, - }; - static struct regs_info regs_info = { NULL, /* regset_bitmap */ - &xtensa_usrregs_info, + NULL, /* usrregs */ &xtensa_regsets_info };