PERFORCE change 57762 for review
David Xu
davidxu at FreeBSD.org
Mon Jul 19 22:59:36 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=57762
Change 57762 by davidxu at davidxu_celeron on 2004/07/20 05:59:16
Pass a value greater than 1 to td_thr_sstep if we are single stepping the thread.
Affected files ...
.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#15 edit
Differences ...
==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#15 (text+ko) ====
@@ -425,7 +425,7 @@
* when the thread switches back, kse_switchin restores the single step
* state.
*/
- ret = td_thr_sstep_p (&th, step);
+ ret = td_thr_sstep_p (&th, resume_all ? step : 2);
if (ret)
error (thread_db_err_str (ret));
ret = td_thr_get_info_p (&th, &ti);
More information about the p4-projects
mailing list