aboutsummaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-01-06 18:23:51 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-01-06 18:23:51 +0100
commit6bfc5c725a5d9b23eb829a9db3c0f0a4c38b5a4e (patch)
tree3dc1216f18d6ee1006e7a52d270e5db7841a74cb /target-arm
parent0628f2ac019b9259207168bd0dc5c4bafc558b1b (diff)
downloadexternal_qemu-6bfc5c725a5d9b23eb829a9db3c0f0a4c38b5a4e.zip
external_qemu-6bfc5c725a5d9b23eb829a9db3c0f0a4c38b5a4e.tar.gz
external_qemu-6bfc5c725a5d9b23eb829a9db3c0f0a4c38b5a4e.tar.bz2
Fix tracing bug when built as 64-bit program.
Change-Id: I523f4464cfbbd02aff93031660d2ee2f80d54921
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 798105c..f93a0cd 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -5783,7 +5783,7 @@ gen_traceBB( uint64_t bbNum, void* tb )
tcg_temp_free_i64(tmpNum);
#elif HOST_LONG_BITS == 64
TCGv_i64 tmpNum = tcg_temp_new_i64();
- TCGv_i64 tmpTb = tcg_temp_new_i32();
+ TCGv_i64 tmpTb = tcg_temp_new_i64();
tcg_gen_movi_i64(tmpNum, (int64_t)bbNum);
tcg_gen_movi_i64(tmpTb, (int64_t)tb);