Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 16:12:48 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        mjacob@feral.com
Cc:        "Daniel C. Sobral" <dcs@newsguy.com>, alpha@FreeBSD.ORG
Subject:   Re: Latest on ' HEADS UP: loader broken'
Message-ID:  <15122.45376.304502.55208@grasshopper.cs.duke.edu>
In-Reply-To: <15122.40785.294428.276049@grasshopper.cs.duke.edu>
References:  <15122.40043.23892.164757@grasshopper.cs.duke.edu> <Pine.LNX.4.21.0105281147010.23428-100000@zeppo.feral.com> <15122.40785.294428.276049@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Well, whatever firmware I'm running on the AS500 has a rather nice
feature -- it seems to have a trap handler installed for unaligned
access traps.

FreeBSD/alpha SRM disk boot, Revision 1.1
(gallatin@thunder.cs.duke.edu, Mon May 28 10:56:51 EDT 2001)
Memory: 131072 k
\
fatal kernel trap:

    trap entry = 0x4 (unaligned access fault)
    a0         = 0x2003d9bc
    a1         = 0x2d
    a2         = 0x0
    pc         = 0x200285c4
    ra         = 0x200285b8
    curproc    = 0xfffffe0008577cc0

halted CPU 0


If the PC can be trusted, it is somewhere inside of twoConstParen
% nm -n loader.sym
<....>
0000000020026540 T ficlCompileSoftCore
0000000020026960 T ficlParseNumber
00000000200276a0 T constantParen
0000000020027720 T twoConstParen
00000000200290c0 T parseStepParen
000000002002ad20 T ficlTick
000000002002f100 T ficlWordClassify
<....>

(gdb) l *0x200285c4
0x200285c4 is in store (words.c:990).
985         CELL *pCell;
986     #if FICL_ROBUST > 1
987         vmCheckStack(pVM, 2, 0);
988     #endif
989         pCell = (CELL *)stackPopPtr(pVM->pStack);
990         *pCell = stackPop(pVM->pStack);
991     }
992
993     /*
994     ** two-store    CORE ( x1 x2 a-addr -- )



Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15122.45376.304502.55208>