kgdb core dumps

Lonnie VanZandt lonnie.vanzandt at ngc.com
Tue Sep 6 09:27:27 PDT 2005


Confirm that your kgdb source is up to date by running ident on it. Marcel 
added a few changes (which are on the 5.4 stable branch and, I believe, on 
the 6.x latest)

lonnie at aperiodic$ ident `which kgdb`
/usr/bin/kgdb:
     $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6.8.1 2005/05/26 09:33:28 dfr 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc 
Exp $
     $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5.8.1 2005/05/26 09:33:28 dfr 
Exp $
     $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter 
Exp $
     $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.13.2.1 2005/05/26 09:33:28 dfr 
Exp $
     $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kthr.c,v 1.1.2.1 2005/03/01 20:35:14 
obrien Exp $
     $FreeBSD: src/gnu/usr.bin/gdb/kgdb/main.c,v 1.2.2.5 2005/08/16 03:52:30 
marcel Exp $
     $FreeBSD: src/gnu/usr.bin/gdb/kgdb/trgt.c,v 1.1.2.2 2005/08/16 03:52:30 
marcel Exp $
     $FreeBSD: src/gnu/usr.bin/gdb/kgdb/trgt_i386.c,v 1.1.2.1 2005/03/01 
20:35:14 obrien Exp $

On Friday 02 September 2005 06:01 am, Omer Faruk Sen wrote:
> 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 @ 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/
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list