Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 05:59:34 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 57762 for review
Message-ID:  <200407200559.i6K5xYLF081702@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=57762

Change 57762 by davidxu@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200559.i6K5xYLF081702>