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;
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)
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)
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;
}
}
/* 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;
}