Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_64bit
[deliverable/binutils-gdb.git] / gdb / symfile.c
index 682e3cab6dc7d6665d93c63c6447f05a58412f0e..e11c2802267acb8b3a6c3ba26a573e7c6e7b16eb 100644 (file)
@@ -1,6 +1,6 @@
 /* Generic symbol file reading for the GNU debugger, GDB.
 
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2016 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support, using pieces from other GDB modules.
 
@@ -1738,7 +1738,7 @@ symfile_bfd_open (const char *name)
 #if defined(__GO32__) || defined(_WIN32) || defined (__CYGWIN__)
       if (desc < 0)
        {
-         char *exename = alloca (strlen (expanded_name) + 5);
+         char *exename = (char *) alloca (strlen (expanded_name) + 5);
 
          strcat (strcpy (exename, expanded_name), ".exe");
          desc = openp (getenv ("PATH"),
@@ -2881,7 +2881,7 @@ enum language
 deduce_language_from_filename (const char *filename)
 {
   int i;
-  char *cp;
+  const char *cp;
 
   if (filename != NULL)
     if ((cp = strrchr (filename, '.')) != NULL)
This page took 0.025796 seconds and 4 git commands to generate.