Re: [hatari-devel] Basepage and proc_lives debugging from the debugger |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Basepage and proc_lives debugging from the debugger
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Sun, 17 Nov 2019 13:56:54 +0100
- Autocrypt: addr=czietz@xxxxxxx; prefer-encrypt=mutual; keydata= mQGiBDdn2AURBADksdHVyN55nv0lx4qGx+GQMrbo7zs7lSkAfhkgmgqp84xUeUiWI/kj1on/ wxkmJ96Yzt0ktDbZYM0C9Z66M3rLfXE1vXALHhegeMuOy/tVWybcohRrhfB7tmANTESJOZke 0lZZ59DcIfFoqLYErb6qX8nLPYnOv6sFubxnhuF9QQCg/3GaIR1sVK9Xq+b4B9BtVxd7cHMD /i2hAEOX3WY3K7PNZJziYF54uBbGiVS88W41l1RARcaeogIZcAKpFH3on+Tf60fAC85MCp17 QIeP44hj4Cf46B+UTVhf3EFG4IOsLRxUonpt7dKO8txsKFN/OFsjlPOuDyg7XMpEWkTWZetm HC9/0pcApIXSDnggde4T8AX6nn/+A/4hBOhPxuvkV7Uw/ebLYwXrLo2vt9OvvC1VfeywNseq PIkFX/+n/+niBS+Cb2ess2SVQNKJ9vP5+vBxg5AMfQXqk1ONldGQ/ARHmL6+Iuo47mO51e7R i691hq13wHUvyKh1AN7fpKI2m3YW55XEQ+3iTMIZcqfjr6xYgG8GJTppdbQgQ2hyaXN0aWFu IFppZXR6IDxjemlldHpAZ214Lm5ldD6IYwQQEQIAIwIZAQIeAQIXgAUCVGD5IgcLCQgHAwIB BhUIAgkKCwQWAgMBAAoJEFLLl/ZtoCXKubQAoIHNaurSMQB8MHDoTk3B7WHk2ApoAJ0egA8q aNoVj0kU4+OjeGzFiSHMOrkCDQQ3Z9gFEAgA9kJXtwh/CBdyorrWqULzBej5UxE5T7bxbrlL OCDaAadWoxTpj0BV89AHxstDqZSt90xkhkn4DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeS Wc39uK50T8X8dryDxUcwYc58yWb/Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknb zSC0neSRBzZrM2w4DUUdD3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdXQ6MdGGze MyEstSr/POGxKUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbTCD1mpF1Bn5x8vYlL IhkmuquiXsNV6TILOwACAgf+JhucyZDzOWGht9e0U71kC2bxIOr4iz+ADd3sxS62okrocHXp B9zYDhmJ74BFfC7xMd9bwWNj7YR0yiUdOzY27OcXcEkVmhVBW6AqxuRAKfmYMvvnyR5z5OP6 vg2YSzgOmooc5vequa5YIjLmFkuRlglLiEgdW9gPBFtirNqxOtAqSxEcRrblSn8JBEU51Ii6 SVVuo1nXOP11g8rVO4YvEED89pHT4jgLZu4th1N+mDumNZlqyUIxZ4tQyw3X2OWvEbKWGn2j h0ZywaomUTpVA+wiwxndawP40oowFYT8LNeLtfZyq6xPpQmT2DaNhP4gdy3qkDfnmXkc2zFM YukXo4g/AwUYN2fYBVLLl/ZtoCXKEQKA3QCfTJstYzXurbt9ZnoTU3SFQQmG0/wAoNX91nWM nsS7JOepPAzOUoke4AIi
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1573995417; bh=x0IgUyZXqrHhtZEam9uImufNY9e5QwQCdcGE3wMYJ/s=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=dJ6MjI6kgHYnsBBF2asK2nv+Vs70XfbTlPqvL+R97I7wLYmID3SkbZdClTrCKAdb8 RPFyqpFBI4syGkA3LzMSV3sN4bpjzxXRx6sf5AHj553i4iUZ1j2gkKP4Wuxb57l9OW 1DqSiRQkxwp16s1sfruXEIYJM6S6pYlYRAPuoWfg=
- Openpgp: preference=signencrypt
Matthias Arndt schrieb:
> This always pointed to TOS and its exception handler in my cases
Then I guess you must be doing something wrong:
> setopt -D
INFO : Exception debugging enabled (0x203).
> setopt --debug-except bus
INFO : Exception debugging changed (0x203 -> 0x1).
> c
Returning to emulation...
Bus error exception at 0x2558e!
Reading symbols from program 'C:\Temp\atari\FLASHROM.TTP' symbol table...
TOS executable, DRI / GST symbol table, reloc=0, program flags: FASTLOAD
PRIVATE (0x1)
ERROR: symbol table missing from the program!
ERROR: reading symbols from 'C:\Temp\atari\FLASHROM.TTP' failed!
CPU=$2558e, VBL=3651, FrameCycles=12352, HBL=55, LineCycles=32, DSP=N/A
$0002558e : 31fc 0003 fa42 move.w #3,$fffffa42.w
> c
Returning to emulation...
Bus error exception at 0x25420!
CPU=$25420, VBL=3875, FrameCycles=53612, HBL=239, LineCycles=76, DSP=N/A
$00025420 : 33fc aaaa 00e0 aaaa move.w #$aaaa,$e0aaaa
> r
D0 00007198 D1 00000000 D2 00000001 D3 00007198
D4 00040000 D5 00150079 D6 00000000 D7 00000000
A0 00068192 A1 00026F1B A2 00026BEC A3 00E00000
A4 000672D4 A5 00067012 A6 003F7FC6 A7 0006819E
USP 00068198 ISP 0006819E
T=00 S=1 M=0 X=0 N=1 Z=0 V=0 C=0 IMASK=7 STP=0
Prefetch 33fc (MOVE) 33fc (MOVE) Chip latch 00000000
00025420 33fc aaaa 00e0 aaaa MOVE.W #$aaaa,$00e0aaaa [ffbc]
Next PC: 00025428
As you can see, for both bus errors that occurred during my test, Hatari
breaks at the instruction that caused the exception.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: http://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA