From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: Debugging unaligned traps
Date: Sun, 12 Jul 1998 11:17:44 +0200 [thread overview]
Message-ID: <199807120917.LAA01667@stefan.sime.com> (raw)
In-Reply-To: <19980711111203Z92216-5230+1@mea.tmt.tele.fi> (message from Matti Aarnio on Sat, 11 Jul 1998 14:12:00 +0300 (EEST))
Hi Matti !
> Lets have an example:
>
> X(31263): unaligned trap at 000000012004e50c: 000000012076ddb2 28 1
>
> This means that program called X (pid 31263) has done unaligned
> access with Alpha instruction 0x28 (LDL -- 32-bit load) on PC address
> 0x12004e50c while loading from 0x12076ddb2 into integer register 1.
Yes, but let me add a source example:
/*
* uac.S
*/
.text
.globl __start
.ent __start
.align 3
__start:
ldgp $29, 0($27)
lda $0, uac /* load unaligned address */
.align 4 /* make PC 0xXXXXXXXXXXXXXXX0 */
ldq $1, 0($0) /* unaligned access 64 Bit */
.align 4
ldl $2, 0($0) /* unaligned access 32 Bit */
lda $16, 0x0 /* rc */
lda $0, 0x1 /* sys_exit */
call_pal 131 /* syscall */
.align 4
.align 0
ac: .byte 0
uac: .quad 0x0123456789abcdef /* at 0xXXXXXXXXXXXXXXX1 */
.end __start
/*
* Local variables:
* compile-command: "gcc -g -nostartfiles -o uac uac.S"
* End:
*/
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
next prev parent reply other threads:[~1998-07-12 9:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-11 7:57 Debugging unaligned traps B. James Phillippe
1998-07-11 11:12 ` Matti Aarnio
1998-07-12 9:17 ` Quant-X Alpha Linux Support [this message]
1998-07-11 11:39 ` Maciej W. Rozycki
-- strict thread matches above, loose matches on Subject: below --
1998-07-12 17:43 BT-958 = IRQ 24??? Jay.Estabrook
1998-07-13 3:26 ` debugging unaligned traps Tom Holroyd
1998-07-13 4:26 ` Quant-X Alpha Linux Support
1998-07-13 10:24 ` Tom Holroyd
1998-07-13 14:35 ` Quant-X Alpha Linux Support
1998-07-13 22:54 ` Steven N. Hirsch
1998-07-14 0:32 ` Quant-X Alpha Linux Support
1998-07-14 14:53 ` Jason Lavoie
1998-07-14 18:20 ` Quant-X Alpha Linux Support
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox