aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.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/target.c
parentea377ea4c0b8e9c25328cff0240c958f82ffd311 (diff)
downloadfsf-binutils-gdb-3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0.zip
fsf-binutils-gdb-3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0.tar.gz
fsf-binutils-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/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 40e458e..1e729fa 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -248,6 +248,7 @@ struct target_ops dummy_target = {
0, /* to_has_stack */
0, /* to_has_registers */
0, /* to_has_execution */
+ tc_none, /* to_has_thread_control */
0, /* to_sections */
0, /* to_sections_end */
OPS_MAGIC, /* to_magic */
@@ -593,6 +594,7 @@ update_current_target ()
INHERIT (to_has_stack, t);
INHERIT (to_has_registers, t);
INHERIT (to_has_execution, t);
+ INHERIT (to_has_thread_control, t);
INHERIT (to_sections, t);
INHERIT (to_sections_end, t);
INHERIT (to_magic, t);