From owner-freebsd-current@FreeBSD.ORG Fri Sep 2 12:00:41 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 F286816A434 for ; Fri, 2 Sep 2005 12:00:40 +0000 (GMT) (envelope-from ofsen@enderunix.org) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.FreeBSD.org (Postfix) with SMTP id CC44E43D45 for ; Fri, 2 Sep 2005 12:00:39 +0000 (GMT) (envelope-from ofsen@enderunix.org) Received: (qmail 82690 invoked by uid 89); 2 Sep 2005 12:01:14 -0000 X-Mail-Scanner: Scanned by qSheff 1.0-r1 (http://www.enderunix.org/qsheff/) Message-ID: <20050902120114.82685.qmail@istanbul.enderunix.org> From: Omer Faruk Sen To: freebsd-current@freebsd.org Date: Fri, 02 Sep 2005 15:01:14 +0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-9" Content-Transfer-Encoding: 7bit Subject: kgdb core dumps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 02 Sep 2005 12:00:41 -0000 Hi, I am trying to remote dump but I get the following erros. The kernel.debug is the file that I copied to my host system from target (remote). Why I am getting that error? Is there anything that I can do. What I have done is: 1) boot system with a kernel (target) 2) set 0x80 in device.hints on target 3) Copy kernel.debug from target to host 4) CTRL-ALT-ESC on target 5) kgdb -r /dev/cuad0 /boot/kernel/kernel.debug on host and I get the following error. By the way with the src/ that comes with 6.0BETA-3 I can't get any output using kgdb -r /dev/cuad0 /boot/kernel/kernel.debug. I have cvsup'ed my source files yesterday but now I get these errors: root@balli# kgdb -r /dev/cuad0 /boot/kernel/kernel.debug [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Switching to remote protocol 0xc064ad9b in kdb_enter (msg=0x26
) at cpufunc.h:60 60 cpufunc.h: No such file or directory. in cpufunc.h Segmentation fault: 11 (core dumped) ----------------------- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc ******************************************************** First Turkish Qmail book is out! Go check it. Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti. http://www.acikakademi.com/catalog/qmail/