breakpoint : indentation
Change-Id: Icdb8f72dbb516cd0dfc612c3d61b6801f6382be6 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
cf692abe83
commit
3ab7855d1a
|
@ -63,7 +63,7 @@ int breakpoint_add_internal(struct target *target, uint32_t address, uint32_t le
|
||||||
* succeeding.
|
* succeeding.
|
||||||
*/
|
*/
|
||||||
LOG_DEBUG("Duplicate Breakpoint address: 0x%08" PRIx32 " (BP %d)",
|
LOG_DEBUG("Duplicate Breakpoint address: 0x%08" PRIx32 " (BP %d)",
|
||||||
address, breakpoint->unique_id );
|
address, breakpoint->unique_id);
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
breakpoint_p = &breakpoint->next;
|
breakpoint_p = &breakpoint->next;
|
||||||
|
@ -103,7 +103,7 @@ fail:
|
||||||
LOG_DEBUG("added %s breakpoint at 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
LOG_DEBUG("added %s breakpoint at 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
||||||
breakpoint_type_strings[(*breakpoint_p)->type],
|
breakpoint_type_strings[(*breakpoint_p)->type],
|
||||||
(*breakpoint_p)->address, (*breakpoint_p)->length,
|
(*breakpoint_p)->address, (*breakpoint_p)->length,
|
||||||
(*breakpoint_p)->unique_id );
|
(*breakpoint_p)->unique_id);
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ int context_breakpoint_add_internal(struct target *target, uint32_t asid, uint32
|
||||||
* succeeding.
|
* succeeding.
|
||||||
*/
|
*/
|
||||||
LOG_DEBUG("Duplicate Breakpoint asid: 0x%08" PRIx32 " (BP %d)",
|
LOG_DEBUG("Duplicate Breakpoint asid: 0x%08" PRIx32 " (BP %d)",
|
||||||
asid, breakpoint->unique_id );
|
asid, breakpoint->unique_id);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
breakpoint_p = &breakpoint->next;
|
breakpoint_p = &breakpoint->next;
|
||||||
|
@ -155,7 +155,7 @@ int context_breakpoint_add_internal(struct target *target, uint32_t asid, uint32
|
||||||
LOG_DEBUG("added %s Context breakpoint at 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
LOG_DEBUG("added %s Context breakpoint at 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
||||||
breakpoint_type_strings[(*breakpoint_p)->type],
|
breakpoint_type_strings[(*breakpoint_p)->type],
|
||||||
(*breakpoint_p)->asid, (*breakpoint_p)->length,
|
(*breakpoint_p)->asid, (*breakpoint_p)->length,
|
||||||
(*breakpoint_p)->unique_id );
|
(*breakpoint_p)->unique_id);
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
@ -176,13 +176,13 @@ int hybrid_breakpoint_add_internal(struct target *target, uint32_t address, uint
|
||||||
* succeeding.
|
* succeeding.
|
||||||
*/
|
*/
|
||||||
LOG_DEBUG("Duplicate Hybrid Breakpoint asid: 0x%08" PRIx32 " (BP %d)",
|
LOG_DEBUG("Duplicate Hybrid Breakpoint asid: 0x%08" PRIx32 " (BP %d)",
|
||||||
asid, breakpoint->unique_id );
|
asid, breakpoint->unique_id);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
else if ((breakpoint->address == address) && (breakpoint->asid == 0))
|
else if ((breakpoint->address == address) && (breakpoint->asid == 0))
|
||||||
{
|
{
|
||||||
LOG_DEBUG("Duplicate Breakpoint IVA: 0x%08" PRIx32 " (BP %d)",
|
LOG_DEBUG("Duplicate Breakpoint IVA: 0x%08" PRIx32 " (BP %d)",
|
||||||
address, breakpoint->unique_id );
|
address, breakpoint->unique_id);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ int hybrid_breakpoint_add_internal(struct target *target, uint32_t address, uint
|
||||||
LOG_DEBUG("added %s Hybrid breakpoint at address 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
LOG_DEBUG("added %s Hybrid breakpoint at address 0x%8.8" PRIx32 " of length 0x%8.8x, (BPID: %d)",
|
||||||
breakpoint_type_strings[(*breakpoint_p)->type],
|
breakpoint_type_strings[(*breakpoint_p)->type],
|
||||||
(*breakpoint_p)->address, (*breakpoint_p)->length,
|
(*breakpoint_p)->address, (*breakpoint_p)->length,
|
||||||
(*breakpoint_p)->unique_id );
|
(*breakpoint_p)->unique_id);
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ int hybrid_breakpoint_add_internal(struct target *target, uint32_t address, uint
|
||||||
int breakpoint_add(struct target *target, uint32_t address, uint32_t length, enum breakpoint_type type)
|
int breakpoint_add(struct target *target, uint32_t address, uint32_t length, enum breakpoint_type type)
|
||||||
{
|
{
|
||||||
|
|
||||||
int retval = ERROR_OK;
|
int retval = ERROR_OK;
|
||||||
if (target->smp)
|
if (target->smp)
|
||||||
{
|
{
|
||||||
struct target_list *head;
|
struct target_list *head;
|
||||||
|
@ -244,7 +244,7 @@ int retval = ERROR_OK;
|
||||||
int context_breakpoint_add(struct target *target, uint32_t asid, uint32_t length, enum breakpoint_type type)
|
int context_breakpoint_add(struct target *target, uint32_t asid, uint32_t length, enum breakpoint_type type)
|
||||||
{
|
{
|
||||||
|
|
||||||
int retval = ERROR_OK;
|
int retval = ERROR_OK;
|
||||||
if (target->smp)
|
if (target->smp)
|
||||||
{
|
{
|
||||||
struct target_list *head;
|
struct target_list *head;
|
||||||
|
@ -266,7 +266,7 @@ int retval = ERROR_OK;
|
||||||
int hybrid_breakpoint_add(struct target *target, uint32_t address, uint32_t asid, uint32_t length, enum breakpoint_type type)
|
int hybrid_breakpoint_add(struct target *target, uint32_t address, uint32_t asid, uint32_t length, enum breakpoint_type type)
|
||||||
{
|
{
|
||||||
|
|
||||||
int retval = ERROR_OK;
|
int retval = ERROR_OK;
|
||||||
if (target->smp)
|
if (target->smp)
|
||||||
{
|
{
|
||||||
struct target_list *head;
|
struct target_list *head;
|
||||||
|
@ -338,7 +338,7 @@ void breakpoint_remove_internal(struct target *target, uint32_t address)
|
||||||
}
|
}
|
||||||
void breakpoint_remove(struct target *target, uint32_t address)
|
void breakpoint_remove(struct target *target, uint32_t address)
|
||||||
{
|
{
|
||||||
if ((target->smp))
|
if (target->smp)
|
||||||
{
|
{
|
||||||
struct target_list *head;
|
struct target_list *head;
|
||||||
struct target *curr;
|
struct target *curr;
|
||||||
|
@ -460,7 +460,7 @@ bye:
|
||||||
watchpoint_rw_strings[(*watchpoint_p)->rw],
|
watchpoint_rw_strings[(*watchpoint_p)->rw],
|
||||||
(*watchpoint_p)->address,
|
(*watchpoint_p)->address,
|
||||||
(*watchpoint_p)->length,
|
(*watchpoint_p)->length,
|
||||||
(*watchpoint_p)->unique_id );
|
(*watchpoint_p)->unique_id);
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue