Mariano Alvira <mar@devl.org> fixes warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1601 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
1f378efbf0
commit
03fdabaaac
|
@ -448,7 +448,7 @@ static int handle_etb_config_command(struct command_context_s *cmd_ctx, char *cm
|
||||||
arm7_9->etm_ctx->capture_driver_priv = etb;
|
arm7_9->etm_ctx->capture_driver_priv = etb;
|
||||||
|
|
||||||
etb->tap = tap;
|
etb->tap = tap;
|
||||||
etb->cur_scan_chain = ~0UL;
|
etb->cur_scan_chain = 0xffffffff;
|
||||||
etb->reg_cache = NULL;
|
etb->reg_cache = NULL;
|
||||||
etb->ram_width = 0;
|
etb->ram_width = 0;
|
||||||
etb->ram_depth = 0;
|
etb->ram_depth = 0;
|
||||||
|
|
|
@ -994,7 +994,7 @@ static int etmv1_analyze_trace(etm_context_t *ctx, struct command_context_s *cmd
|
||||||
if (((instruction.type == ARM_B) ||
|
if (((instruction.type == ARM_B) ||
|
||||||
(instruction.type == ARM_BL) ||
|
(instruction.type == ARM_BL) ||
|
||||||
(instruction.type == ARM_BLX)) &&
|
(instruction.type == ARM_BLX)) &&
|
||||||
(instruction.info.b_bl_bx_blx.target_address != ~0UL))
|
(instruction.info.b_bl_bx_blx.target_address != 0xffffffff))
|
||||||
{
|
{
|
||||||
next_pc = instruction.info.b_bl_bx_blx.target_address;
|
next_pc = instruction.info.b_bl_bx_blx.target_address;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2933,7 +2933,7 @@ int xscale_analyze_trace(target_t *target, command_context_t *cmd_ctx)
|
||||||
(((instruction.type == ARM_B) ||
|
(((instruction.type == ARM_B) ||
|
||||||
(instruction.type == ARM_BL) ||
|
(instruction.type == ARM_BL) ||
|
||||||
(instruction.type == ARM_BLX)) &&
|
(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;
|
xscale->trace.current_pc = instruction.info.b_bl_bx_blx.target_address;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue