diff options
author | Michael Snyder <msnyder@vmware.com> | 1999-01-13 23:53:30 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 1999-01-13 23:53:30 +0000 |
commit | 3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0 (patch) | |
tree | c919d87fb60c29ccbb90e963dbd94a1049b5069f /gdb/remote.c | |
parent | ea377ea4c0b8e9c25328cff0240c958f82ffd311 (diff) | |
download | gdb-3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0.zip gdb-3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0.tar.gz gdb-3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0.tar.bz2 |
Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* 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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index e6a2252d..b4f7ce6 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; } |