OpenOCD
jim_getopt_info::interp
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
jim_getopt_info::interp
jim_getopt_info::interp field
Syntax
from
jim-nvp.h:136
Jim_Interp
*
interp
;
References
Location
Referrer
Text
jim-nvp.h:136
Jim_Interp
*
interp
;
aarch64.c:2931
aarch64_jim_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
aarch64.c:2934
aarch64_jim_configure()
e
=
jim_nvp_name2value_obj
(
goi
->
interp
,
nvp_config_opts
,
aarch64.c:2951
aarch64_jim_configure()
cti
=
cti_instance_by_jim_obj
(
goi
->
interp
,
o_cti
)
;
aarch64.c:2953
aarch64_jim_configure()
Jim_SetResultString
(
goi
->
interp
,
"CTI name invalid!"
,
-
1
)
;
aarch64.c:2959
aarch64_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
aarch64.c:2966
aarch64_jim_configure()
Jim_SetResultString
(
goi
->
interp
,
"CTI not configured"
,
-
1
)
;
aarch64.c:2969
aarch64_jim_configure()
Jim_SetResultString
(
goi
->
interp
,
arm_cti_name
(
pc
->
cti
)
,
-
1
)
;
arm_adi_v5.c:2343
adiv5_jim_spot_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
arm_adi_v5.c:2346
adiv5_jim_spot_configure()
int
e
=
jim_nvp_name2value_obj
(
goi
->
interp
,
nvp_config_opts
,
arm_adi_v5.c:2367
adiv5_jim_spot_configure()
dap
=
dap_instance_by_jim_obj
(
goi
->
interp
,
o_t
)
;
arm_adi_v5.c:2369
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
"DAP name invalid!"
,
-
1
)
;
arm_adi_v5.c:2373
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
arm_adi_v5.c:2382
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
"DAP not configured"
,
-
1
)
;
arm_adi_v5.c:2385
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
adiv5_dap_name
(
*
dap_p
)
,
-
1
)
;
arm_adi_v5.c:2398
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
"Invalid AP number!"
,
-
1
)
;
arm_adi_v5.c:2406
adiv5_jim_spot_configure()
Jim_SetResultString
(
goi
->
interp
,
"AP number not configured"
,
-
1
)
;
arm_adi_v5.c:2409
adiv5_jim_spot_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
*
ap_num_p
)
)
;
arm_adi_v5.c:2426
adiv5_jim_spot_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
*
base_p
)
)
;
arm_adi_v5.c:2434
adiv5_jim_spot_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"NO PARAMS"
)
;
arm_adi_v5.c:2466
adiv5_jim_configure_ext()
Jim_SetResultString
(
goi
->
interp
,
arm_cti.c:422
cti_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
"unknown option '%s'"
,
arm_cti.c:430
cti_configure()
Jim_SetResultString
(
goi
->
interp
,
"-dap required when creating CTI"
,
-
1
)
;
arm_cti.c:446
cti_create()
cmd_ctx
=
current_command_context
(
goi
->
interp
)
;
arm_cti.c:450
cti_create()
Jim_WrongNumArgs
(
goi
->
interp
,
1
,
goi
->
argv
,
"?name? ..options..."
)
;
arm_cti.c:456
cti_create()
cmd
=
Jim_GetCommand
(
goi
->
interp
,
new_cmd
,
JIM_NONE
)
;
arm_cti.c:459
cti_create()
Jim_SetResultFormatted
(
goi
->
interp
,
"Command: %s Exists"
,
cp
)
;
arm_cti.c:506
cti_create()
Jim_SetResultString
(
goi
->
interp
,
"Cannot get AP"
,
-
1
)
;
arm_cti.c:518
jim_cti_create()
Jim_WrongNumArgs
(
goi
.
interp
,
goi
.
argc
,
goi
.
argv
,
arm_dap.c:207
dap_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
arm_dap.c:222
dap_configure()
tap
=
jtag_tap_by_jim_obj
(
goi
->
interp
,
o_t
)
;
arm_dap.c:224
dap_configure()
Jim_SetResultString
(
goi
->
interp
,
"-chain-position is invalid"
,
-
1
)
;
arm_dap.c:238
dap_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
arm_dap.c:244
dap_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
arm_dap.c:259
dap_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
arm_dap.c:265
dap_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
arm_dap.c:345
dap_create()
cmd_ctx
=
current_command_context
(
goi
->
interp
)
;
arm_dap.c:349
dap_create()
Jim_WrongNumArgs
(
goi
->
interp
,
1
,
goi
->
argv
,
"?name? ..options..."
)
;
arm_dap.c:355
dap_create()
cmd
=
Jim_GetCommand
(
goi
->
interp
,
new_cmd
,
JIM_NONE
)
;
arm_dap.c:358
dap_create()
Jim_SetResultFormatted
(
goi
->
interp
,
"Command: %s Exists"
,
cp
)
;
arm_dap.c:377
dap_create()
Jim_SetResultString
(
goi
->
interp
,
"-chain-position required when creating DAP"
,
-
1
)
;
arm_dap.c:424
jim_dap_create()
Jim_WrongNumArgs
(
goi
.
interp
,
goi
.
argc
,
goi
.
argv
,
arm_tpiu_swo.c:362
arm_tpiu_swo_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
"Cannot configure TPIU/SWO; %s is enabled!"
,
obj
->
name
)
;
arm_tpiu_swo.c:368
arm_tpiu_swo_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
arm_tpiu_swo.c:391
arm_tpiu_swo_configure()
Jim_SetResultString
(
goi
->
interp
,
"Invalid port width!"
,
-
1
)
;
arm_tpiu_swo.c:398
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
obj
->
port_width
)
)
;
arm_tpiu_swo.c:412
arm_tpiu_swo_configure()
e
=
jim_nvp_value2name
(
goi
->
interp
,
nvp_arm_tpiu_swo_protocol_opts
,
obj
->
pin_protocol
,
&
p
)
;
arm_tpiu_swo.c:414
arm_tpiu_swo_configure()
Jim_SetResultString
(
goi
->
interp
,
"protocol error"
,
-
1
)
;
arm_tpiu_swo.c:417
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewStringObj
(
goi
->
interp
,
p
->
name
,
-
1
)
)
;
arm_tpiu_swo.c:431
arm_tpiu_swo_configure()
e
=
jim_nvp_value2name
(
goi
->
interp
,
nvp_arm_tpiu_swo_bool_opts
,
obj
->
en_formatter
,
&
p
)
;
arm_tpiu_swo.c:433
arm_tpiu_swo_configure()
Jim_SetResultString
(
goi
->
interp
,
"formatter error"
,
-
1
)
;
arm_tpiu_swo.c:436
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewStringObj
(
goi
->
interp
,
p
->
name
,
-
1
)
)
;
arm_tpiu_swo.c:449
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
obj
->
traceclkin_freq
)
)
;
arm_tpiu_swo.c:462
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
obj
->
swo_pin_freq
)
)
;
arm_tpiu_swo.c:475
arm_tpiu_swo_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
"Invalid TCP port \'%s\'"
,
s
+
1
)
;
arm_tpiu_swo.c:490
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewStringObj
(
goi
->
interp
,
obj
->
out_filename
,
-
1
)
)
;
arm_tpiu_swo.c:496
arm_tpiu_swo_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"-event ?event-name? ?EVENT-BODY?"
)
;
arm_tpiu_swo.c:501
arm_tpiu_swo_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"-event ?event-name?"
)
;
arm_tpiu_swo.c:537
arm_tpiu_swo_configure()
ea
->
interp
=
goi
->
interp
;
arm_tpiu_swo.c:539
arm_tpiu_swo_configure()
ea
->
body
=
Jim_DuplicateObj
(
goi
->
interp
,
o
)
;
arm_tpiu_swo.c:543
arm_tpiu_swo_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_DuplicateObj
(
goi
->
interp
,
ea
->
body
)
)
;
arm_tpiu_swo.c:553
arm_tpiu_swo_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"NO PARAMS"
)
;
arm_tpiu_swo.c:565
jim_arm_tpiu_swo_configure()
Jim_WrongNumArgs
(
goi
.
interp
,
goi
.
argc
,
goi
.
argv
,
arm_tpiu_swo.c:986
jim_arm_tpiu_swo_create()
Jim_SetResultString
(
goi
.
interp
,
"-dap and -ap-num required when creating TPIU"
,
-
1
)
;
arm_tpiu_swo.c:990
jim_arm_tpiu_swo_create()
e
=
arm_tpiu_swo_create
(
goi
.
interp
,
obj
)
;
jim-nvp.c:151
jim_getopt_setup()
p
->
interp
=
interp
;
jim-nvp.c:214
jim_getopt_double()
r
=
Jim_GetDouble
(
goi
->
interp
,
o
,
puthere
)
;
jim-nvp.c:216
jim_getopt_double()
Jim_SetResultFormatted
(
goi
->
interp
,
"not a number: %#s"
,
o
)
;
jim-nvp.c:232
jim_getopt_wide()
r
=
Jim_GetWide
(
goi
->
interp
,
o
,
puthere
)
;
jim-nvp.c:247
jim_getopt_nvp()
e
=
jim_nvp_name2value_obj
(
goi
->
interp
,
nvp
,
o
,
puthere
)
;
jim-nvp.c:255
jim_getopt_nvp_unknown()
jim_set_result_nvp_unknown
(
goi
->
interp
,
goi
->
argv
[
-
2
]
,
goi
->
argv
[
-
1
]
,
nvptable
)
;
jim-nvp.c:257
jim_getopt_nvp_unknown()
jim_set_result_nvp_unknown
(
goi
->
interp
,
NULL
,
goi
->
argv
[
-
1
]
,
nvptable
)
;
jim-nvp.c:270
jim_getopt_enum()
e
=
Jim_GetEnum
(
goi
->
interp
,
o
,
lookup
,
puthere
,
"option"
,
JIM_ERRMSG
)
;
rtos.c:107
rtos_create()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"NO PARAMS"
)
;
rtos.c:135
rtos_create()
Jim_SetResultFormatted
(
goi
->
interp
,
"Unknown RTOS type %s, try one of: "
,
cp
)
;
rtos.c:136
rtos_create()
res
=
Jim_GetResult
(
goi
->
interp
)
;
rtos.c:138
rtos_create()
Jim_AppendStrings
(
goi
->
interp
,
res
,
rtos_types
[
x
]
->
name
,
", "
,
NULL
)
;
rtos.c:139
rtos_create()
Jim_AppendStrings
(
goi
->
interp
,
res
,
", auto or none"
,
NULL
)
;
stm8.c:1949
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:1968
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:1987
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:2006
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:2025
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:2044
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
stm8.c:2063
stm8_jim_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
target.c:5025
target_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
target.c:5051
target_configure()
Jim_SetResultFormatted
(
goi
->
interp
,
target.c:5057
target_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
target.c:5063
target_configure()
Jim_SetResultString
(
goi
->
interp
,
target.c:5069
target_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"-event ?event-name? ..."
)
;
target.c:5081
target_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"-event ?event-name? ?EVENT-BODY?"
)
;
target.c:5086
target_configure()
Jim_WrongNumArgs
(
goi
->
interp
,
goi
->
argc
,
goi
->
argv
,
"-event ?event-name?"
)
;
target.c:5115
target_configure()
teap
->
interp
=
goi
->
interp
;
target.c:5119
target_configure()
teap
->
body
=
Jim_DuplicateObj
(
goi
->
interp
,
o
)
;
target.c:5137
target_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
target.c:5141
target_configure()
Jim_SetEmptyResult
(
goi
->
interp
)
;
target.c:5143
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_DuplicateObj
(
goi
->
interp
,
teap
->
body
)
)
;
target.c:5161
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
working_area_virt
)
)
;
target.c:5177
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
working_area_phys
)
)
;
target.c:5192
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
working_area_size
)
)
;
target.c:5208
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
backup_working_area
?
1
:
0
)
)
;
target.c:5230
target_configure()
Jim_SetResultString
(
goi
->
interp
,
n
->
name
,
-
1
)
;
target.c:5244
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
coreid
)
)
;
target.c:5254
target_configure()
Jim_SetResultString
(
goi
->
interp
,
target.c:5263
target_configure()
tap
=
jtag_tap_by_jim_obj
(
goi
->
interp
,
o_t
)
;
target.c:5272
target_configure()
Jim_SetResultString
(
goi
->
interp
,
target
->
tap
->
dotted_name
,
-
1
)
;
target.c:5286
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
dbgbase
)
)
;
target.c:5307
target_configure()
struct
command_context
*
cmd_ctx
=
current_command_context
(
goi
->
interp
)
;
target.c:5309
target_configure()
Jim_SetResultString
(
goi
->
interp
,
"-gdb-port must be configured before 'init'"
,
-
1
)
;
target.c:5323
target_configure()
Jim_SetResultString
(
goi
->
interp
,
target
->
gdb_port_override
?
target
->
gdb_port_override
:
"undefined"
,
-
1
)
;
target.c:5329
target_configure()
struct
command_context
*
cmd_ctx
=
current_command_context
(
goi
->
interp
)
;
target.c:5331
target_configure()
Jim_SetResultString
(
goi
->
interp
,
"-gdb-max-connections must be configured before 'init'"
,
-
1
)
;
target.c:5343
target_configure()
Jim_SetResult
(
goi
->
interp
,
Jim_NewIntObj
(
goi
->
interp
,
target
->
gdb_max_connections
)
)
;
target.c:5361
jim_target_configure()
Jim_WrongNumArgs
(
goi
.
interp
,
goi
.
argc
,
goi
.
argv
,
target.c:5607
jim_target_invoke_event()
Jim_SetResultFormatted
(
goi
.
interp
,
"%s <eventname>"
,
cmd_name
)
;
target.c:5819
target_create()
cmd_ctx
=
current_command_context
(
goi
->
interp
)
;
target.c:5823
target_create()
Jim_WrongNumArgs
(
goi
->
interp
,
1
,
goi
->
argv
,
"?name? ?type? ..options..."
)
;
target.c:5830
target_create()
cmd
=
Jim_GetCommand
(
goi
->
interp
,
new_cmd
,
JIM_NONE
)
;
target.c:5833
target_create()
Jim_SetResultFormatted
(
goi
->
interp
,
"Command/target: %s Exists"
,
cp
)
;
target.c:5858
target_create()
Jim_SetResultFormatted
(
goi
->
interp
,
"Unknown target type %s, try one of "
,
cp
)
;
target.c:5861
target_create()
Jim_AppendStrings
(
goi
->
interp
,
target.c:5862
target_create()
Jim_GetResult
(
goi
->
interp
)
,
target.c:5866
target_create()
Jim_AppendStrings
(
goi
->
interp
,
target.c:5867
target_create()
Jim_GetResult
(
goi
->
interp
)
,
target.c:5942
target_create()
Jim_SetResultString
(
goi
->
interp
,
"-dap ?name? required when creating target"
,
-
1
)
;
target.c:5947
target_create()
Jim_SetResultString
(
goi
->
interp
,
"-chain-position ?name? required when creating target"
,
-
1
)
;
target.c:5983
target_create()
e
=
(
*
(
target
->
type
->
target_create
)
)
(
target
,
goi
->
interp
)
;
target.c:6166
jim_target_create()
Jim_WrongNumArgs
(
goi
.
interp
,
goi
.
argc
,
goi
.
argv
,
Data Use
Functions writing
jim_getopt_info::interp
Functions reading
jim_getopt_info::interp
jim_getopt_setup()
all items filtered out
jim_getopt_info::interp
jim_getopt_double()
jim_getopt_wide()
jim_getopt_nvp()
jim_getopt_nvp_unknown()
jim_getopt_enum()
rtos_create()
adiv5_jim_spot_configure()
adiv5_jim_configure_ext()
cti_configure()
cti_create()
jim_cti_create()
arm_tpiu_swo_configure()
jim_arm_tpiu_swo_configure()
jim_arm_tpiu_swo_create()
target_configure()
jim_target_configure()
jim_target_invoke_event()
target_create()
jim_target_create()
aarch64_jim_configure()
stm8_jim_configure()
dap_configure()
dap_create()
jim_dap_create()
all items filtered out
Type of
jim_getopt_info::interp
jim_getopt_info::interp
Jim_Interp
all items filtered out