Make it simpler to add events to Python
[deliverable/binutils-gdb.git] / gdb / i386-nto-tdep.c
index 57be47176efdffe4823a07405b13f4502fec1fc8..5f0b88614abd70aff85e28122bbe936fcf60b004 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for QNX Neutrino x86.
 
-   Copyright (C) 2003-2014 Free Software Foundation, Inc.
+   Copyright (C) 2003-2017 Free Software Foundation, Inc.
 
    Contributed by QNX Software Systems Ltd.
 
@@ -25,8 +25,6 @@
 #include "regcache.h"
 #include "target.h"
 
-#include <string.h>
-
 #include "i386-tdep.h"
 #include "i387-tdep.h"
 #include "nto-tdep.h"
@@ -364,10 +362,10 @@ i386nto_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
         = nto_in_dynsym_resolve_code;
     }
   set_solib_ops (gdbarch, &nto_svr4_so_ops);
-}
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_i386nto_tdep;
+  set_gdbarch_wchar_bit (gdbarch, 32);
+  set_gdbarch_wchar_signed (gdbarch, 0);
+}
 
 void
 _initialize_i386nto_tdep (void)
This page took 0.024938 seconds and 4 git commands to generate.