gdbserver:prepare_access_memory: pick another thread
[deliverable/binutils-gdb.git] / gdb / gdbserver / nto-x86-low.c
index a7f8f6725862c4f6b5dd6ea8fab730eb2ecad23b..6160ede91d96505c24bc7f7abfc434d1e0a33a1d 100644 (file)
@@ -1,6 +1,6 @@
 /* QNX Neutrino specific low level interface, for the remote server
    for GDB.
-   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2009-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-
+#include "server.h"
 #include "nto-low.h"
 #include "regdef.h"
 #include "regcache.h"
@@ -28,6 +28,7 @@
 /* Definition auto generated from reg-i386.dep.  */
 extern void init_registers_i386 ();
 extern struct reg *regs_i386;
+extern const struct target_desc *tdesc_i386;
 
 const unsigned char x86_breakpoint[] = { 0xCC };
 #define x86_breakpoint_len 1
@@ -91,6 +92,7 @@ nto_x86_arch_setup (void)
 {
   init_registers_i386 ();
   the_low_target.num_regs = 16;
+  nto_tdesc = tdesc_i386;
 }
 
 struct nto_target_ops the_low_target =
This page took 0.023285 seconds and 4 git commands to generate.