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/procfs.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/procfs.c')
-rw-r--r-- | gdb/procfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index b5b331d..1e9e040 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5760,9 +5760,9 @@ struct target_ops procfs_ops = { 0, /* to_close */ procfs_attach, /* to_attach */ NULL, /* to_post_attach */ - procfs_attach, /* to_require_attach */ + procfs_attach, /* to_require_attach */ procfs_detach, /* to_detach */ - procfs_detach, /* to_require_detach */ + procfs_detach, /* to_require_detach */ procfs_resume, /* to_resume */ procfs_wait, /* to_wait */ NULL, /* to_post_wait */ @@ -5816,6 +5816,7 @@ struct target_ops procfs_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 */ |