Subject: gdb post-mortem kernel debugging broken?
To: port-mac68k NetBSD Mailinglist <port-mac68k@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 03/25/2000 14:44:54
Hi,

trying to debug a NetBSD -current core, all I see in gdb is

chuck# gdb netbsd.gdb
GNU gdb 4.17
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 "m68k--netbsd"...
(gdb) target kcore /var/crash/netbsd.2.core
panic: Bus error
#0  0x0 in ?? ()
(gdb) bt
#0  0x0 in ?? ()
(gdb)

when, according to ddb, I should see something like

db> t
_cpu_Debugger(71ca2c,100,71ca68,12ee7e,12e97d) + 6
_panic(12e97d) + 56
_trap(0,75d,8c9003) + 2b6
_sbc_pdma_in(3e2800,1,ff,2000c1c) + 11c
_ncr5380_data_xfer(3e2800,1) + 20c
_ncr5380_machine(3e2800) + 182
_ncr5380_sched(3e2800) + 40e
_ncr5380_scsi_cmd(3ec000) + 1da
_scsipi_execute_xs(3ec000) + 90
_scsi_scsipi_cmd(3dd480,3f38b4,6,2000c18,ff,0,7d0,3f3808,818) + 14a
_scsistrategy(3f3808) + 188
_physio(11249c,3f3808,d0a,100000,1c04c,3f3884) + 2fa
_scsipi_do_ioctl(3dd480,d0a,c05e5101,71ceac,3,6f3640) + 1d2
_sdioctl(d0a,c05e5101,71ceac,3,6f3640) + 552
_spec_ioctl(71cdc0) + 8c
_VOP_IOCTL(7100d0,c05e5101,71ceac,3,3ddf00,6f3640) + 5a
_vn_ioctl(70c060,c05e5101,71ceac,6f3640) + d4
_sys_ioctl(6f3640,71cf6c,71cf64) + 338
_syscall(36) + 1b4
_trap0() + e
db>


????

	hauke


--
"It's never straight up and down"     (DEVO)