Add ravenscar-thread support for powerpc.
[deliverable/binutils-gdb.git] / gdb / xtensa-linux-nat.c
index 5d27173fd5daff87a3400089ec4ad7fcbdd99ac5..4c7f0abcf35a7fef77dcb851c60aaf74775213d6 100644 (file)
@@ -1,6 +1,6 @@
 /* Xtensa GNU/Linux native support.
 
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -46,7 +46,7 @@
    hardware-specific overlays.  */
 #include "xtensa-xtregs.c"
 
-int
+static int
 get_thread_id (ptid_t ptid)
 {
   int tid = TIDGET (ptid);
@@ -265,7 +265,8 @@ store_xtregs (struct regcache *regcache, int regnum)
 }
 
 void
-xtensa_linux_fetch_inferior_registers (struct regcache *regcache, int regnum)
+xtensa_linux_fetch_inferior_registers (struct target_ops *ops,
+                                      struct regcache *regcache, int regnum)
 {
   if (regnum == -1)
     {
@@ -279,7 +280,8 @@ xtensa_linux_fetch_inferior_registers (struct regcache *regcache, int regnum)
 }
 
 void
-xtensa_linux_store_inferior_registers (struct regcache *regcache, int regnum)
+xtensa_linux_store_inferior_registers (struct target_ops *ops,
+                                      struct regcache *regcache, int regnum)
 {
   if (regnum == -1)
     {
This page took 0.024022 seconds and 4 git commands to generate.