From owner-freebsd-hackers Tue Oct 29 9: 1:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C98337B401 for ; Tue, 29 Oct 2002 09:01:52 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A5843E42 for ; Tue, 29 Oct 2002 09:01:52 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 6948 invoked from network); 29 Oct 2002 17:01:54 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 29 Oct 2002 17:01:54 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9TH1gn5091804; Tue, 29 Oct 2002 12:01:43 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 29 Oct 2002 12:01:41 -0500 (EST) From: John Baldwin To: Zhihui Zhang Subject: RE: Command used to trace the stack of a process Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 29-Oct-2002 Zhihui Zhang wrote: > > I remember there is a command in either gdb or ddb which enable you to > display the stack of a particular process. Can anyone tell me if there is > such a command and what the command is? Thanks! In ddb you can do 'tr ' where is the PID of the process. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message