as this test is included in two places, it would probably be a good
idea to name and define it as a macro. Maybe one of the OpenOCD guys
has a good suggestion for a name?
---
src/target/xscale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/target/xscale.c b/src/target/xscale.c
index c3b8d33..dec1ede 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -2933,7 +2933,7 @@ int xscale_analyze_trace(target_t *target,
command_context_t *cmd_ctx)
(((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;
}
--
1.5.6.5
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development