diff options
author | Tarek BOCHKATI <tarek.bouchkati@gmail.com> | 2019-01-03 18:16:45 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-01-16 10:52:43 +0000 |
commit | 63aa91701532451889e2bc0666cd3d81b825afff (patch) | |
tree | df907344df64cfc97b0cd56c0327cd4ba82c24b0 /src/target/fa526.c | |
parent | c915e705685ac45d99050e20273f132171145eda (diff) |
cortex_a_poll: minor code factorization to enhance readability
cortex_a_debug_entry and update_halt_gdb are called in two consecutive
conditions which are complementary, so externalizing the common code
makes the conditions' body lighter
With the removal of LOG_DEBUG(" ") since it does not look too informative
Change-Id: I0c54e413619576bb3af164f2dcf256c5a862c5fd
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/4832
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
Diffstat (limited to 'src/target/fa526.c')
0 files changed, 0 insertions, 0 deletions