From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 16:26:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4562616A4CE for ; Wed, 18 Aug 2004 16:26:21 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC9D743D1F for ; Wed, 18 Aug 2004 16:26:20 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9164 invoked from network); 18 Aug 2004 16:26:20 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 18 Aug 2004 16:26:20 -0000 Received: from [10.50.40.208] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i7IGQ1OZ047684; Wed, 18 Aug 2004 12:26:15 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Wed, 18 Aug 2004 12:08:53 -0400 User-Agent: KMail/1.6.2 References: <41234A3B.7000404@cronyx.ru> In-Reply-To: <41234A3B.7000404@cronyx.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200408181208.53473.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Roman Kurakin Subject: Re: __asm ("int $3") while Giant lock X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 16:26:21 -0000 On Wednesday 18 August 2004 08:23 am, Roman Kurakin wrote: > Hi, > > I am trying to find out reason od LOR's in my code. I've placed > __asm ("int $3) > instruction in my code to enter debugger, but after I enter 'n' command > systems > goes to panic. > > Is this normal? > Should I send output? Try using 'kdb_enter("foo");' instead. For one thing it's more portable. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org