New test case gdb.base/branch-to-self.exp
[deliverable/binutils-gdb.git] / gdb / dicos-tdep.c
index 6b3e0712f063ecf3dda341cd64526238d2bfc4cd..2cb244a99b54889ee52232506ab392c158b21ce3 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent, architecture-independent code for DICOS, for GDB.
 
-   Copyright (C) 2009-2013 Free Software Foundation, Inc.
+   Copyright (C) 2009-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -19,7 +19,6 @@
 
 #include "defs.h"
 #include "osabi.h"
-#include "gdb_string.h"
 #include "solib.h"
 #include "solib-target.h"
 #include "inferior.h"
@@ -91,7 +90,7 @@ dicos_load_module_p (bfd *abfd, int header_size)
     {
       long i, symcount;
 
-      symbol_table = xmalloc (storage_needed);
+      symbol_table = (asymbol **) xmalloc (storage_needed);
       symcount = bfd_canonicalize_symtab (abfd, symbol_table);
 
       if (symcount < 0)
This page took 0.025632 seconds and 4 git commands to generate.