* linux-tdep.c (linux_has_shared_address_space): Make static. Add
gdbarch parameter.
(linux_init_abi): Install it as has_shared_address_space gdbarch
callback.
+2012-03-01 Pedro Alves <palves@redhat.com>
+
+ * linux-tdep.c (linux_has_shared_address_space): Make static. Add
+ gdbarch parameter.
+ (linux_init_abi): Install it as has_shared_address_space gdbarch
+ callback.
+
2012-03-01 Pedro Alves <palves@redhat.com>
* observer.c (observer_test_first_notification_function)
return siginfo_type;
}
-int
-linux_has_shared_address_space (void)
+static int
+linux_has_shared_address_space (struct gdbarch *gdbarch)
{
/* Determine whether we are running on uClinux or normal Linux
kernel. */
set_gdbarch_info_proc (gdbarch, linux_info_proc);
set_gdbarch_find_memory_regions (gdbarch, linux_find_memory_regions);
set_gdbarch_make_corefile_notes (gdbarch, linux_make_corefile_notes_1);
+ set_gdbarch_has_shared_address_space (gdbarch,
+ linux_has_shared_address_space);
}
void