Date: Mon, 07 May 2001 14:06:22 -0500 From: Lars Fredriksen <lars@odin-corporation.com> To: current@freebsd.org Subject: gdb -k not able to access BSS? Message-ID: <3AF6F22E.2EFD35EA@odin-corporation.com>
next in thread | raw e-mail | index | archive | help
Hi, I was trying to debug a problem where sound card is not working because it ends up with a irq that is shared with the VGA card. So I figured I'd use gdb to look at the interrupt handler vector to see what was there and to find out what is going on. However gdb is unable to dump the data : munin# gdb -k -wcore -s ./kernel.debug GNU gdb 4.18 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"... (kgdb) print intr_handler Cannot access memory at address 0xc0395b80. (kgdb) x/20x 0xc0395b80 0xc0395b80 <intr_handler>: Cannot access memory at address 0xc0395b80. Anyone got an idea? Nm on the running kernel agrees with the above address. munin# nm /boot/kernel/kernel | fgrep intr_handler c0395b80 B intr_handler Lars To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF6F22E.2EFD35EA>