revert changes done on top on that.
-2010-05-17 Joel Brobecker <brobecker@adacore.com>
-
- * target.h (reset_schedlock): Add declaration.
- * infrun.c (reset_schedlock): Add missing void in function profile.
- * target.c (target_mourn_inferior): Delete local declaration of
- reset_schedlock. Style-fix in comment.
-
-2010-05-17 Hui Zhu <teawater@gmail.com>
-
- * target.c (target_mourn_inferior): Extern reset_schedlock.
-
2010-05-16 Michael Snyder <msnyder@vmware.com>
* target.c: White space.
}
}
-/* If SCHEDULER_MODE is on, then set it back to off. Warn the user
- about the change. */
-
-void
-reset_schedlock (void)
-{
- if (scheduler_mode == schedlock_on)
- {
- warning ("Resetting scheduler-lock mode to 'off'");
- scheduler_mode = schedlock_off;
- }
-}
-
/* True if execution commands resume all threads of all processes by
default; otherwise, resume only threads of the current inferior
process. */
{
struct target_ops *t;
- /* Clear schedlock in infrun.c. */
- reset_schedlock ();
-
for (t = current_target.beneath; t != NULL; t = t->beneath)
{
if (t->to_mourn_inferior != NULL)
/* From infrun.c. */
-extern void reset_schedlock (void);
-
extern int inferior_has_forked (ptid_t pid, ptid_t *child_pid);
extern int inferior_has_vforked (ptid_t pid, ptid_t *child_pid);