21 lines
725 B
Diff
21 lines
725 B
Diff
|
xscale: fix uninitialise breakpoint_pc
|
||
|
|
||
|
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||
|
---
|
||
|
src/target/xscale.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
Index: b/src/target/xscale.c
|
||
|
===================================================================
|
||
|
--- a/src/target/xscale.c
|
||
|
+++ b/src/target/xscale.c
|
||
|
@@ -2811,7 +2811,7 @@ static int xscale_analyze_trace(struct t
|
||
|
struct xscale_common *xscale = target_to_xscale(target);
|
||
|
struct xscale_trace_data *trace_data = xscale->trace.data;
|
||
|
int i, retval;
|
||
|
- uint32_t breakpoint_pc;
|
||
|
+ uint32_t breakpoint_pc = 0;
|
||
|
struct arm_instruction instruction;
|
||
|
uint32_t current_pc = 0; /* initialized when address determined */
|
||
|
|