From 3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 13 Jan 1999 23:53:30 +0000 Subject: Wed Jan 13 14:59:02 1999 Michael Snyder * infrun.c (set/show scheduler-locking) New command. Set a mode bit that will control how GDB attempts to control thread scheduling for step, continue, etc. (resume): make use of the schedule-locking mode. * target.h (struct target_ops): new field to_has_thread_control. * sol-thread.c: initialize target_ops to_has_thread_control. * procfs.c: ditto. * target.c: ditto. * m3-nat.c: ditto. * remote.c: ditto. * hpux-thread.c: ditto. --- gdb/remote.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index e6a2252d93..b4f7ce6460 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3185,6 +3185,7 @@ Specify the serial device it is connected to (e.g. /dev/ttya)."; remote_ops.to_has_stack = 1; remote_ops.to_has_registers = 1; remote_ops.to_has_execution = 1; + remote_ops.to_has_thread_control = tc_schedlock; /* can lock scheduler */ remote_ops.to_magic = OPS_MAGIC; } -- cgit v1.2.1