From owner-p4-projects@FreeBSD.ORG Tue Jul 20 05:59:35 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7063916A4D0; Tue, 20 Jul 2004 05:59:35 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3618616A4CE for ; Tue, 20 Jul 2004 05:59:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3098443D39 for ; Tue, 20 Jul 2004 05:59:35 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6K5xZic081705 for ; Tue, 20 Jul 2004 05:59:35 GMT (envelope-from davidxu@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6K5xYLF081702 for perforce@freebsd.org; Tue, 20 Jul 2004 05:59:34 GMT (envelope-from davidxu@freebsd.org) Date: Tue, 20 Jul 2004 05:59:34 GMT Message-Id: <200407200559.i6K5xYLF081702@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to davidxu@freebsd.org using -f From: David Xu To: Perforce Change Reviews Subject: PERFORCE change 57762 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 05:59:36 -0000 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);