* elf32-xtensa.c (ebb_propose_action): Fix argument order.
[deliverable/binutils-gdb.git] / gdb / somsolib.c
index fd6c00cfd608a792e7920125b4e0dfbef60325b7..41e938e72ea3203e56a631660af84f6b64ff1ff7 100644 (file)
 #define O_BINARY 0
 #endif
 
+#ifndef SHL_LOAD
+#define SHL_LOAD       4
+#endif
+
+#ifndef SHL_UNLOAD
+#define SHL_UNLOAD     8
+#endif
+
 /* Uncomment this to turn on some debugging output.
  */
 
@@ -1463,17 +1471,17 @@ som_sharedlibrary_info_command (char *ignore, int from_tty)
       if (so_list->objfile == NULL)
        printf_unfiltered ("  (symbols not loaded)");
       printf_unfiltered ("\n");
-      printf_unfiltered ("    %-12s", local_hex_string_custom (flags, "08l"));
+      printf_unfiltered ("    %-12s", hex_string_custom (flags, 8));
       printf_unfiltered ("%-12s",
-            local_hex_string_custom (so_list->som_solib.text_addr, "08l"));
+                        hex_string_custom (so_list->som_solib.text_addr, 8));
       printf_unfiltered ("%-12s",
-             local_hex_string_custom (so_list->som_solib.text_end, "08l"));
+                        hex_string_custom (so_list->som_solib.text_end, 8));
       printf_unfiltered ("%-12s",
-           local_hex_string_custom (so_list->som_solib.data_start, "08l"));
+                        hex_string_custom (so_list->som_solib.data_start, 8));
       printf_unfiltered ("%-12s",
-             local_hex_string_custom (so_list->som_solib.data_end, "08l"));
+                        hex_string_custom (so_list->som_solib.data_end, 8));
       printf_unfiltered ("%-12s\n",
-            local_hex_string_custom (so_list->som_solib.got_value, "08l"));
+                        hex_string_custom (so_list->som_solib.got_value, 8));
       so_list = so_list->next;
     }
 }
@@ -1557,25 +1565,6 @@ som_solib_restart (void)
 }
 
 
-/* LOCAL FUNCTION
-
-   no_shared_libraries -- handle command to explicitly discard symbols
-   from shared libraries.
-
-   DESCRIPTION
-
-   Implements the command "nosharedlibrary", which discards symbols
-   that have been auto-loaded from shared libraries.  Symbols from
-   shared libraries that were added by explicit request of the user
-   are not discarded.  Also called from remote.c.  */
-
-void
-no_shared_libraries (char *ignored, int from_tty)
-{
-  /* FIXME */
-}
-
-
 void
 _initialize_som_solib (void)
 {
@@ -1621,7 +1610,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)
+som_solib_thread_start_addr (struct so_list *so)
 {
   return so->som_solib.tsd_start_addr;
 }
This page took 0.023744 seconds and 4 git commands to generate.