gdbserver: Suffix generated C files with -generated
[deliverable/binutils-gdb.git] / gdb / nto-tdep.c
index fdf6c81028e1ff69972abc0ab0c3e472b5a7b7aa..96a3af325a165bc5ba2c657353f06f27f3609696 100644 (file)
@@ -1,6 +1,6 @@
 /* nto-tdep.c - general QNX Neutrino target functionality.
 
-   Copyright (C) 2003-2015 Free Software Foundation, Inc.
+   Copyright (C) 2003-2017 Free Software Foundation, Inc.
 
    Contributed by QNX Software Systems Ltd.
 
@@ -87,7 +87,8 @@ nto_map_arch_to_cputype (const char *arch)
 }
 
 int
-nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
+nto_find_and_open_solib (const char *solib, unsigned o_flags,
+                        char **temp_pathname)
 {
   char *buf, *arch_path, *nto_root;
   const char *endian;
@@ -552,7 +553,8 @@ nto_inferior_data (struct inferior *const inferior)
 
   gdb_assert (inf != NULL);
 
-  inf_data = inferior_data (inf, nto_inferior_data_reg);
+  inf_data
+    = (struct nto_inferior_data *) inferior_data (inf, nto_inferior_data_reg);
   if (inf_data == NULL)
     {
       set_inferior_data (inf, nto_inferior_data_reg,
This page took 0.024064 seconds and 4 git commands to generate.