From 03fdabaaacaf745455902e46f6978f4e2f988ba1 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 4 May 2009 11:06:21 +0000 Subject: Mariano Alvira fixes warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1601 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/etm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/etm.c') diff --git a/src/target/etm.c b/src/target/etm.c index 41897ec0..c60cc0d7 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -992,9 +992,9 @@ static int etmv1_analyze_trace(etm_context_t *ctx, struct command_context_s *cmd 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; } -- cgit v1.2.3