* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
[deliverable/binutils-gdb.git] / gdb / pa64solib.c
index 0bb3de8c8a31e07b414753f471709bac7d9fc63b..e8074c61b35c882717ad210bd1c4b7e1a4c82442 100644 (file)
@@ -157,8 +157,8 @@ pa64_solib_sizeof_symbol_table (char *filename)
 
   /* We believe that filename was handed to us by the dynamic linker, and
      is therefore always an absolute path.  */
-  desc = openp (getenv ("PATH"), 1, filename, O_RDONLY | O_BINARY,
-               0, &absolute_name);
+  desc = openp (getenv ("PATH"), OPF_TRY_CWD_FIRST, filename,
+               O_RDONLY | O_BINARY, 0, &absolute_name);
   if (desc < 0)
     {
       perror_with_name (filename);
@@ -403,9 +403,9 @@ pa64_solib_add (char *arg_string, int from_tty, struct target_ops *target, int r
      We need to first determine if we're dealing with a dynamically
      linked executable.  If not, then return without an error or warning.
 
-     We also need to examine __dld_flags to determine if the shared library
-     list is valid and to determine if the libraries have been privately
-     mapped.  */
+     We also need to examine __dld_flags to determine if the shared
+     library list is valid and to determine if the libraries have been
+     privately mapped.  */
   if (symfile_objfile == NULL)
     return;
 
@@ -462,8 +462,8 @@ pa64_solib_add (char *arg_string, int from_tty, struct target_ops *target, int r
      DT_HP_DEBUG_PRIVATE to indicate that shared libraries should be
      mapped private.
 
-     DT_HP_DEBUG_CALLBACK to indicate that we want the dynamic linker to
-     call the breakpoint routine for significant events.  */
+     DT_HP_DEBUG_CALLBACK to indicate that we want the dynamic linker
+     to call the breakpoint routine for significant events.  */
 
 void
 pa64_solib_create_inferior_hook (void)
@@ -592,8 +592,8 @@ get_out:
    shared library events.  To resume notifications, GDB must call
    pa64_solib_create_inferior_hook.
 
-   This operation does not remove any knowledge of shared libraries which
-   GDB may already have been notified of.  */
+   This operation does not remove any knowledge of shared libraries
+   of which GDB may already have been notified.  */
 
 void
 pa64_solib_remove_inferior_hook (int pid)
@@ -796,23 +796,18 @@ pa64_sharedlibrary_info_command (char *ignore, int from_tty)
       if (so_list->loaded == 0)
        printf_unfiltered ("  (shared library unloaded)");
       printf_unfiltered ("  %-18s",
-       local_hex_string_custom (so_list->pa64_solib_desc.linkage_ptr,
-                                "016l"));
+       hex_string_custom (so_list->pa64_solib_desc.linkage_ptr, 16));
       printf_unfiltered ("\n");
       printf_unfiltered ("%-18s",
-       local_hex_string_custom (so_list->pa64_solib_desc.text_base,
-                                "016l"));
+       hex_string_custom (so_list->pa64_solib_desc.text_base, 16));
       printf_unfiltered (" %-18s",
-       local_hex_string_custom ((so_list->pa64_solib_desc.text_base
-                                 + so_list->pa64_solib_desc.text_size),
-                                "016l"));
+       hex_string_custom ((so_list->pa64_solib_desc.text_base
+                           + so_list->pa64_solib_desc.text_size), 16));
       printf_unfiltered (" %-18s",
-       local_hex_string_custom (so_list->pa64_solib_desc.data_base,
-                                "016l"));
+       hex_string_custom (so_list->pa64_solib_desc.data_base, 16));
       printf_unfiltered (" %-18s\n",
-       local_hex_string_custom ((so_list->pa64_solib_desc.data_base
-                                 + so_list->pa64_solib_desc.data_size),
-                                "016l"));
+       hex_string_custom ((so_list->pa64_solib_desc.data_base
+                           + so_list->pa64_solib_desc.data_size), 16));
       so_list = so_list->next;
     }
 }
@@ -892,7 +887,7 @@ _initialize_pa64_solib (void)
   add_info ("sharedlibrary", pa64_sharedlibrary_info_command,
            "Status of loaded shared object libraries.");
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ("auto-solib-add", class_support, var_boolean,
                  (char *) &auto_solib_add,
                  "Set autoloading of shared library symbols.\n\
@@ -903,7 +898,7 @@ inferior.  Otherwise, symbols must be loaded manually, using `sharedlibrary'.",
                  &setlist),
      &showlist);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ("auto-solib-limit", class_support, var_zinteger,
                  (char *) &auto_solib_limit,
                  "Set threshold (in Mb) for autoloading shared library symbols.\n\
@@ -928,7 +923,7 @@ threshold in megabytes.  Is ignored when using `sharedlibrary'.",
 
 /* Get some HPUX-specific data from a shared lib.  */
 CORE_ADDR
-so_lib_thread_start_addr (struct so_list *so)
+pa64_solib_thread_start_addr (struct so_list *so)
 {
   return so->pa64_solib_desc.tls_start_addr;
 }
This page took 0.026015 seconds and 4 git commands to generate.