stlink: fix incorrect pc console output
commitdfe8f3a4417b03253977ae1be23f3c8196d35b21
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 29 Feb 2012 15:20:24 +0000 (29 15:20 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 6 Mar 2012 13:32:22 +0000 (6 13:32 +0000)
treef106033e36354ac6746f0d35daad35f33be661b4
parent0ab3f83667718e43142222499b7d6a464fe444c6
stlink: fix incorrect pc console output

target_call_event_callbacks needs to be called after debug entry otherwise
we will get a console pc mismatch.

Change-Id: I278137736d5e85ca9662c306f6ac81336d8eb6cf
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/499
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/target/stm32_stlink.c