Subject: kcore on sun3x (Re: CVS commit: syssrc)
To: None <chs@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sun3
Date: 05/29/2001 08:24:57
In <20010528205655.F3C8EB00B@cvs.netbsd.org>
chs@netbsd.org wrote:

> Module Name:	syssrc
> Committed By:	chs
> Date:		Mon May 28 20:56:55 UTC 2001
> 
> Modified Files:
> 	syssrc/sys/arch/sun3/include: param.h
> 	syssrc/sys/arch/sun3/sun3x: machdep.c
> 
> Log Message:
> make sun3x work again after the recent change to the m68k cpu_kcore_hdr:
> allocate a page for dumps like the sun3 does rather than using part of
> the msgbuf page.  this also lets the msgbuf use the full msgbuf page.

Now is "target kcore netbsd.core" on gdb working?

savecore did not work correctly because kseg->c_size is too small
on sun3x and lseek cannnot seek less than DEV_BSIZE.

"target kcore /dev/mem" did not work neither, so we might have
another problem, though.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp