Fixes:
/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c: In function 'void fetch_gregs(regcache*, ptid_t, int)':
/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c:178:23: error: uninitialized const 'regs' [-fpermissive]
const gdb_gregset_t regs;
^
gdb/ChangeLog:
* xtensa-linux-nat.c (fetch_gregs): Remove const.
+2017-03-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * xtensa-linux-nat.c (fetch_gregs): Remove const.
+
2017-03-03 Simon Marchi <simon.marchi@ericsson.com>
* remote.c (remote_add_target_side_commands): Use range-based
fetch_gregs (struct regcache *regcache, int regnum)
{
int tid = ptid_get_lwp (inferior_ptid);
- const gdb_gregset_t regs;
+ gdb_gregset_t regs;
int areg;
if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0)