aboutsummaryrefslogtreecommitdiff
path: root/src/target/etm.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-04 11:06:21 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-04 11:06:21 +0000
commit03fdabaaacaf745455902e46f6978f4e2f988ba1 (patch)
tree1978e6b291e96872753ab4c3807c54cbed28104f /src/target/etm.c
parent1f378efbf0cd9a27588d4361e959167ec42583bf (diff)
downloadriscv-openocd-03fdabaaacaf745455902e46f6978f4e2f988ba1.zip
riscv-openocd-03fdabaaacaf745455902e46f6978f4e2f988ba1.tar.gz
riscv-openocd-03fdabaaacaf745455902e46f6978f4e2f988ba1.tar.bz2
Mariano Alvira <mar@devl.org> fixes warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/etm.c')
-rw-r--r--src/target/etm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/etm.c b/src/target/etm.c
index 41897ec..c60cc0d 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;
}