Subject: No luck with (gdb) print db_onpanic=0 (Re: PPC 7450 and openfirmware.c)
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 06/12/2002 08:48:54
Bill> gdb --write netbsd
Bill> (gdb) print db_onpanic=0
Bill> $1 = 0

Thanks Bill, but no luck.. 
Is the stack frame corrupted ?

The screen copied. I can type at the last prompt, but it is just OF.
------------------------------------------------------------------------
Apple PowerMac3,5 4.2.5f1 BootROM built on 08/16/01 at 22:19:35
Copyright 1994-2001 Apple Computer, Inc.
All Rights Reserved.

Welcome to Open Firmware, the system time and date is: 23:33:21 06/11/2002

To continue booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.

 ok
0 > boot hd:,ofwboot.xcf hd:10/netbsd.3 load-size=e148 adler32=76210b01

loadin XCOFF

tsize=cbc0 dsize=14a8 bsize=2670 entry=640000
SECTIONS:
.text	00640000 00640000 0000cbc0 000000e0
.data   0064d000 0064d000 000014a8 0000cca0
.bss    0064e4e8 0064e4a8 00002670 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.6
>> (makoto@ibook, Mon May 27 16:28:24 JST 2002)
3840572+219140 [187920+156028]=-x433430
 start=0x100000

panic: lockmgr:  pid 0, not exclusive lock holder 1008730187 unlocking cpu_id 0
Begin traceback...
End traceback...
rebooting




method <`usb-kbd-ihandles> not found; ihandle=ffbc8740 phandle=ff931210 ok
0> 
------------------------------------------------------------------------

---
Makoto Fujiwara, 
Chiba, Japan, supporting Ireland for Wcup 2002