aboutsummaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1999-01-13 23:53:30 +0000
committerMichael Snyder <msnyder@vmware.com>1999-01-13 23:53:30 +0000
commit3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0 (patch)
treec919d87fb60c29ccbb90e963dbd94a1049b5069f /gdb/sol-thread.c
parentea377ea4c0b8e9c25328cff0240c958f82ffd311 (diff)
downloadgdb-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/sol-thread.c')
-rw-r--r--gdb/sol-thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index ccaa6dc..6585d73 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -1569,6 +1569,7 @@ struct target_ops sol_thread_ops = {
1, /* to_has_stack */
1, /* to_has_registers */
1, /* to_has_execution */
+ tc_none, /* to_has_thread_control */
0, /* sections */
0, /* sections_end */
OPS_MAGIC /* to_magic */
@@ -1638,6 +1639,7 @@ struct target_ops sol_core_ops = {
1, /* to_has_stack */
1, /* to_has_registers */
0, /* to_has_execution */
+ tc_none, /* to_has_thread_control */
0, /* sections */
0, /* sections_end */
OPS_MAGIC /* to_magic */