Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-07-02 Thread Paul Brook
On Monday 02 July 2007, Ulrich Hecht wrote: > On Saturday 30 June 2007 04:19, Paul Brook wrote: > > > QEMU does not set the Thumb bit when reading from R15 in Thumb mode. > > > > Neither does real hardware. > > You are, unsurprisingly, right. The problem seems to be a different one. > Quoting the A

Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-07-02 Thread Ulrich Hecht
On Saturday 30 June 2007 04:19, Paul Brook wrote: > > QEMU does not set the Thumb bit when reading from R15 in Thumb mode. > > Neither does real hardware. You are, unsurprisingly, right. The problem seems to be a different one. Quoting the ARM on "pop pc": "In ARM architecture 5 and above, bit[0

Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-06-29 Thread Paul Brook
> QEMU does not set the Thumb bit when reading from R15 in Thumb mode. Neither does real hardware. Paul

Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-06-28 Thread Ulrich Hecht
On Thursday 28 June 2007 17:30, Ulrich Hecht wrote: > On Thursday 28 June 2007 16:31, Ulrich Hecht wrote: > > QEMU does not set the Thumb bit when reading from R15 in Thumb mode. > > Here's the fix: > > Maybe not; this seems to break some cases ... :( This works in all my cases, although I am not

Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-06-28 Thread Ulrich Hecht
On Thursday 28 June 2007 16:31, Ulrich Hecht wrote: > QEMU does not set the Thumb bit when reading from R15 in Thumb mode. > Here's the fix: Maybe not; this seems to break some cases ... :( CU Uli -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

[Qemu-devel] [PATCH] ARM (Thumb) read from R15

2007-06-28 Thread Ulrich Hecht
Hi! QEMU does not set the Thumb bit when reading from R15 in Thumb mode. Here's the fix: Index: target-arm/translate.c === RCS file: /sources/qemu/qemu/target-arm/translate.c,v retrieving revision 1.53 diff -u -r1.53 translate.c ---