@@ -4937,7 +4937,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
49374937 switch (n -> value ) {
49384938 case TCFG_TYPE :
49394939 /* not settable */
4940- if (goi -> isconfigure ) {
4940+ if (goi -> is_configure ) {
49414941 Jim_SetResultFormatted (goi -> interp ,
49424942 "not settable: %s" , n -> name );
49434943 return JIM_ERR ;
@@ -4966,7 +4966,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
49664966 return e ;
49674967 }
49684968
4969- if (goi -> isconfigure ) {
4969+ if (goi -> is_configure ) {
49704970 if (goi -> argc != 1 ) {
49714971 Jim_WrongNumArgs (goi -> interp , goi -> argc , goi -> argv , "-event ?event-name? ?EVENT-BODY?" );
49724972 return JIM_ERR ;
@@ -4989,7 +4989,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
49894989 teap = teap -> next ;
49904990 }
49914991
4992- if (goi -> isconfigure ) {
4992+ if (goi -> is_configure ) {
49934993 /* START_DEPRECATED_TPIU */
49944994 if (n -> value == TARGET_EVENT_TRACE_CONFIG )
49954995 LOG_INFO ("DEPRECATED target event %s; use TPIU events {pre,post}-{enable,disable}" , n -> name );
@@ -5037,7 +5037,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
50375037 break ;
50385038
50395039 case TCFG_WORK_AREA_VIRT :
5040- if (goi -> isconfigure ) {
5040+ if (goi -> is_configure ) {
50415041 target_free_all_working_areas (target );
50425042 e = jim_getopt_wide (goi , & w );
50435043 if (e != JIM_OK )
@@ -5053,7 +5053,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
50535053 break ;
50545054
50555055 case TCFG_WORK_AREA_PHYS :
5056- if (goi -> isconfigure ) {
5056+ if (goi -> is_configure ) {
50575057 target_free_all_working_areas (target );
50585058 e = jim_getopt_wide (goi , & w );
50595059 if (e != JIM_OK )
@@ -5069,7 +5069,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
50695069 break ;
50705070
50715071 case TCFG_WORK_AREA_SIZE :
5072- if (goi -> isconfigure ) {
5072+ if (goi -> is_configure ) {
50735073 target_free_all_working_areas (target );
50745074 e = jim_getopt_wide (goi , & w );
50755075 if (e != JIM_OK )
@@ -5084,7 +5084,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
50845084 break ;
50855085
50865086 case TCFG_WORK_AREA_BACKUP :
5087- if (goi -> isconfigure ) {
5087+ if (goi -> is_configure ) {
50885088 target_free_all_working_areas (target );
50895089 e = jim_getopt_wide (goi , & w );
50905090 if (e != JIM_OK )
@@ -5101,7 +5101,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
51015101
51025102
51035103 case TCFG_ENDIAN :
5104- if (goi -> isconfigure ) {
5104+ if (goi -> is_configure ) {
51055105 e = jim_getopt_nvp (goi , nvp_target_endian , & n );
51065106 if (e != JIM_OK ) {
51075107 jim_getopt_nvp_unknown (goi , nvp_target_endian , 1 );
@@ -5122,7 +5122,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
51225122 break ;
51235123
51245124 case TCFG_COREID :
5125- if (goi -> isconfigure ) {
5125+ if (goi -> is_configure ) {
51265126 e = jim_getopt_wide (goi , & w );
51275127 if (e != JIM_OK )
51285128 return e ;
@@ -5136,7 +5136,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
51365136 break ;
51375137
51385138 case TCFG_CHAIN_POSITION :
5139- if (goi -> isconfigure ) {
5139+ if (goi -> is_configure ) {
51405140 Jim_Obj * o_t ;
51415141 struct jtag_tap * tap ;
51425142
@@ -5163,7 +5163,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
51635163 /* loop for more e*/
51645164 break ;
51655165 case TCFG_DBGBASE :
5166- if (goi -> isconfigure ) {
5166+ if (goi -> is_configure ) {
51675167 e = jim_getopt_wide (goi , & w );
51685168 if (e != JIM_OK )
51695169 return e ;
@@ -5193,7 +5193,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
51935193 break ;
51945194
51955195 case TCFG_GDB_PORT :
5196- if (goi -> isconfigure ) {
5196+ if (goi -> is_configure ) {
51975197 struct command_context * cmd_ctx = current_command_context (goi -> interp );
51985198 if (cmd_ctx -> mode != COMMAND_CONFIG ) {
51995199 Jim_SetResultString (goi -> interp , "-gdb-port must be configured before 'init'" , -1 );
@@ -5215,7 +5215,7 @@ static int target_configure(struct jim_getopt_info *goi, struct target *target)
52155215 break ;
52165216
52175217 case TCFG_GDB_MAX_CONNECTIONS :
5218- if (goi -> isconfigure ) {
5218+ if (goi -> is_configure ) {
52195219 struct command_context * cmd_ctx = current_command_context (goi -> interp );
52205220 if (cmd_ctx -> mode != COMMAND_CONFIG ) {
52215221 Jim_SetResultString (goi -> interp , "-gdb-max-connections must be configured before 'init'" , -1 );
@@ -5246,7 +5246,7 @@ static int jim_target_configure(Jim_Interp *interp, int argc, Jim_Obj * const *a
52465246 struct jim_getopt_info goi ;
52475247
52485248 jim_getopt_setup (& goi , interp , argc - 1 , argv + 1 );
5249- goi .isconfigure = !strcmp (c -> name , "configure" );
5249+ goi .is_configure = !strcmp (c -> name , "configure" );
52505250 if (goi .argc < 1 ) {
52515251 Jim_WrongNumArgs (goi .interp , goi .argc , goi .argv ,
52525252 "missing: -option ..." );
@@ -5823,7 +5823,7 @@ static int target_create(struct jim_getopt_info *goi)
58235823 target -> gdb_max_connections = 1 ;
58245824
58255825 /* Do the rest as "configure" options */
5826- goi -> isconfigure = 1 ;
5826+ goi -> is_configure = true ;
58275827 e = target_configure (goi , target );
58285828
58295829 if (e == JIM_OK ) {
0 commit comments