target/cortex_m: Use 'bool' instead of 'int'

Change-Id: I273d24997e2c844015e144a15981f8f0af522261
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/4950
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2019-02-26 13:40:23 +01:00
committed by Tomas Vanek
parent f426d8dd33
commit 351ef7bf3c
2 changed files with 9 additions and 9 deletions

View File

@@ -136,14 +136,14 @@
#define FPCR_REPLACE_BKPT_BOTH (3 << 30)
struct cortex_m_fp_comparator {
int used;
bool used;
int type;
uint32_t fpcr_value;
uint32_t fpcr_address;
};
struct cortex_m_dwt_comparator {
int used;
bool used;
uint32_t comp;
uint32_t mask;
uint32_t function;
@@ -174,7 +174,7 @@ struct cortex_m_common {
int fp_num_code;
int fp_code_available;
int fp_rev;
int fpb_enabled;
bool fpb_enabled;
struct cortex_m_fp_comparator *fp_comparator_list;
/* Data Watchpoint and Trace (DWT) */