hook is initialized in by rs6000-nat.c. If not, it is currently left
NULL and never called. */
-void (*xcoff_relocate_symtab_hook) PARAMS ((unsigned int)) = NULL;
+void (*xcoff_relocate_symtab_hook) (unsigned int) = NULL;
#ifdef SOLIB_SYMBOLS_MANUAL
the section list. */
void
-solib_add (arg_string, from_tty, target)
- char *arg_string;
- int from_tty;
- struct target_ops *target;
+solib_add (char *arg_string, int from_tty, struct target_ops *target)
{
char *val;
struct vmap *vp = vmap;
syms_from_objfile (obj, NULL, 0, 0);
new_symfile_objfile (obj, 0, 0);
- vmap_symtab (vp, 0, 0);
+ vmap_symtab (vp);
printf_unfiltered ("Done.\n");
loaded = vp->loaded = 1;
}
is not persistent. */
char *
-pc_load_segment_name (addr)
- CORE_ADDR addr;
+pc_load_segment_name (CORE_ADDR addr)
{
static char buffer[BUFSIZ];
struct vmap *vp = vmap;
return "(unknown load module)";
}
-static void solib_info PARAMS ((char *, int));
+static void solib_info (char *, int);
static void
-solib_info (args, from_tty)
- char *args;
- int from_tty;
+solib_info (char *args, int from_tty)
{
struct vmap *vp = vmap;
}
void
-sharedlibrary_command (args, from_tty)
- char *args;
- int from_tty;
+sharedlibrary_command (char *args, int from_tty)
{
dont_repeat ();
}
void
-_initialize_solib ()
+_initialize_solib (void)
{
add_com ("sharedlibrary", class_files, sharedlibrary_command,
"Load shared object library symbols for files matching REGEXP.");