|
From: oharboe at B. <oh...@ma...> - 2009-05-04 13:06:31
|
Author: oharboe
Date: 2009-05-04 13:06:21 +0200 (Mon, 04 May 2009)
New Revision: 1601
Modified:
trunk/src/target/etb.c
trunk/src/target/etm.c
trunk/src/target/xscale.c
Log:
Mariano Alvira <ma...@de...> fixes warnings
Modified: trunk/src/target/etb.c
===================================================================
--- trunk/src/target/etb.c 2009-05-04 11:03:40 UTC (rev 1600)
+++ trunk/src/target/etb.c 2009-05-04 11:06:21 UTC (rev 1601)
@@ -448,7 +448,7 @@
arm7_9->etm_ctx->capture_driver_priv = etb;
etb->tap = tap;
- etb->cur_scan_chain = ~0UL;
+ etb->cur_scan_chain = 0xffffffff;
etb->reg_cache = NULL;
etb->ram_width = 0;
etb->ram_depth = 0;
Modified: trunk/src/target/etm.c
===================================================================
--- trunk/src/target/etm.c 2009-05-04 11:03:40 UTC (rev 1600)
+++ trunk/src/target/etm.c 2009-05-04 11:06:21 UTC (rev 1601)
@@ -992,9 +992,9 @@
if ((pipestat == STAT_IE) || (pipestat == STAT_ID))
{
if (((instruction.type == ARM_B) ||
- (instruction.type == ARM_BL) ||
- (instruction.type == ARM_BLX)) &&
- (instruction.info.b_bl_bx_blx.target_address != ~0UL))
+ (instruction.type == ARM_BL) ||
+ (instruction.type == ARM_BLX)) &&
+ (instruction.info.b_bl_bx_blx.target_address != 0xffffffff))
{
next_pc = instruction.info.b_bl_bx_blx.target_address;
}
Modified: trunk/src/target/xscale.c
===================================================================
--- trunk/src/target/xscale.c 2009-05-04 11:03:40 UTC (rev 1600)
+++ trunk/src/target/xscale.c 2009-05-04 11:06:21 UTC (rev 1601)
@@ -2933,7 +2933,7 @@
(((instruction.type == ARM_B) ||
(instruction.type == ARM_BL) ||
(instruction.type == ARM_BLX)) &&
- (instruction.info.b_bl_bx_blx.target_address != ~0UL)))
+ (instruction.info.b_bl_bx_blx.target_address != 0xffffffff)))
{
xscale->trace.current_pc = instruction.info.b_bl_bx_blx.target_address;
}
|