* [Qemu-devel] [4217] Save the exact SWI return address in Thumb mode.
@ 2008-04-16 23:17 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-04-16 23:17 UTC (permalink / raw)
To: qemu-devel
Revision: 4217
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4217
Author: balrog
Date: 2008-04-16 23:17:02 +0000 (Wed, 16 Apr 2008)
Log Message:
-----------
Save the exact SWI return address in Thumb mode.
Modified Paths:
--------------
trunk/target-arm/translate.c
Modified: trunk/target-arm/translate.c
===================================================================
--- trunk/target-arm/translate.c 2008-04-16 23:07:32 UTC (rev 4216)
+++ trunk/target-arm/translate.c 2008-04-16 23:17:02 UTC (rev 4217)
@@ -8492,7 +8492,7 @@
if (cond == 0xf) {
/* swi */
gen_set_condexec(s);
- gen_set_pc_im(s->pc | 1);
+ gen_set_pc_im(s->pc);
s->is_jmp = DISAS_SWI;
break;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-16 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-16 23:17 [Qemu-devel] [4217] Save the exact SWI return address in Thumb mode Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).