Date: Sun, 26 May 2002 22:06:33 -0400 (EDT) From: Andre Guibert de Bruet <andy@siliconlandmark.com> To: freebsd-bugs@freebsd.org Subject: gdb -k typographical error Message-ID: <20020526215404.U63839-200000@alpha.siliconlandmark.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hello, I spotted a typographical error in the output of the GNU kernel debugger for FreeBSD (-STABLE branch). The patch that is attached to this email fixes the issue. The patch needs to be applied in the sources root; /usr/src on most machines. Here is a copy kgdb's output: ------------ eagle# gdb -k kernel.19.debug vmcore.19 GNU gdb 4.18 (FreeBSD) Copyright 1998 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-unknown-freebsd"... IdlePTD at phsyical address 0x0038e000 --- etc. --- Also, do the GNU folks support FreeBSD's kgdb? Should this report be emailed to them as well? Regards, Andre > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > [-- Attachment #2 --] --- gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c.orig Mon May 27 01:48:19 2002 +++ gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c Mon May 27 01:48:42 2002 @@ -596,7 +596,7 @@ cpuid = 0; physrd (cfd, ksym_lookup ("IdlePTD") - KERNOFF, (char*)&sbr, sizeof sbr); - printf ("IdlePTD at phsyical address 0x%08lx\n", (unsigned long)sbr); + printf ("IdlePTD at physical address 0x%08lx\n", (unsigned long)sbr); curpcb = kvtophys(cfd, ksym_lookup ("gd_curpcb") + prv_start); physrd (cfd, curpcb, (char*)&curpcb, sizeof curpcb);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020526215404.U63839-200000>
