Simulating arm on x86
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Simulating arm on x86
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Simulating arm on x86
- From: Patrick Bellasi <pbellasi@xxxxxxxx>
- Date: Wed, 15 Sep 2004 17:25:38 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again all!
I need the value assumed by PC during the execution of a simple program
compiled on a x86 with:
arm-none-elf-gcc -mcpu=arm7tdmi -mthumb -mthumb-interwork ...
Well... the problem is thath I don't have an ARM processor! There is a way to
get those values?!?... using an istruction set simulator, may be?
I've tried qemu... but it terminate abnormalli with:
qemu: unhandled CPU exception 0x2 - aborting
R00=00000016 R01=00008204 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=401d7fb0 R14=00000000 R15=00008120
PSR=00000010 ----
qemu: uncaught target signal 6 (Aborted) - exiting
just at the entry point of my program!
Any idea?!? Is it possible to use GDB?!?
Thank's in advance,
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBSHsbeGk3pQ7APA8RAuB5AJ0ZT3TqTJse9rvbkcLZ+QeoHoOLAwCaApbR
VmMQ/BLUqLSHKJ5ewnZdVd8=
=mbg9
-----END PGP SIGNATURE-----