Remove const in xtensa-linux-nat.c:fetch_gregs
[deliverable/binutils-gdb.git] / gdb / xtensa-linux-nat.c
index 54da83791ae793ef75f388764c77741316a86b23..c29f0c71e66b3511f21089b27b2b08b11f0e1f9c 100644 (file)
@@ -1,6 +1,6 @@
 /* Xtensa GNU/Linux native support.
 
-   Copyright (C) 2007-2016 Free Software Foundation, Inc.
+   Copyright (C) 2007-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -175,7 +175,7 @@ static void
 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) &regs) < 0)
@@ -286,7 +286,7 @@ xtensa_linux_store_inferior_registers (struct target_ops *ops,
 /* Called by libthread_db.  */
 
 ps_err_e
-ps_get_thread_area (const struct ps_prochandle *ph,
+ps_get_thread_area (struct ps_prochandle *ph,
                     lwpid_t lwpid, int idx, void **base)
 {
   xtensa_elf_gregset_t regs;
This page took 0.024356 seconds and 4 git commands to generate.