kgdb core dumps

From: Omer Faruk Sen <ofsen_at_enderunix.org>
Date: Fri, 02 Sep 2005 15:01:14 +0300
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_at_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 <Address 0x26 out of bounds>) 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 _at_ 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/
Received on Fri Sep 02 2005 - 10:00:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC