gdb_server.c
gdb_input_inner
'g'
gdb_get_registers_packet
target_get_gdb_reg_list
target->type->get_gdb_reg_list
andes_get_gdb_reg_list
andes_reg_current
andes_get_core_reg
andes_reg->andes->read_core_reg
andes_edm_read_core_reg
edm_read_reg
'p'
gdb_get_register_packet
target_get_gdb_reg_list
reg_list[reg_num]->type->get
'P'
get_set_register_packet
target_get_gdb_reg_list
gdb_target_to_reg
reglist[reg_num]->type->set
's' or 'c'
gdb_thread_packet
log_add_callback
gdb_con->frontend_state = TARGET_RUNNING
target_call_event_callback(TARGET_EVENT_GDB_START)
gdb_step_continue_packet
target_resume
target_step
target->type->step
andes_v3_step
andes_v3_nextpc
enable HSS
set DSSIM
enable watchpoints
andes_v3_leave_debug_state
wait to halt
andes_v3_debug_entry
restore DSSIM
disable HSS
disable watchpoints
target_call_event_callbacks
'm'
gdb_read_memory_packet
target_read_buffer
target->type->read_buffer
target_read_buffer_default
'X'
gdb_write_memory_binary_packet
target_write_buffer
target->type->write_buffer
target_write_buffer_default
target->type->bulk_write_memory
target_write_memory
target->type->write_memory
andes_write_memory
'z' or 'Z'
gdb_breakpoint_watchpoint_packet
breakpoint_add
breakpoint_add_internal
target_add_breakpoint
target->type->add_breakpoint
andes_v3_add_breakpoint
breakpoint_remove
breakpoint_remove_internal
breakpoint_free
target_remove_breakpoint
target->type->remove_breakpoint
andes_v3_remove_breakpoint
watchpoint_add
target_add_watchpoint
target->type->add_watchpoint
andes_v3_add_watchpoint
watchpoint_remove
target_remove_watchpoint
'q' or 'Q'
gdb_thread_packet
gdb_query_packet
qCRC
target_checksum_memory
target->type->checksum_memory
Target Request Data
TARGET_REQ_TRACEMSG
trace_point
TARGET_REQ_DEBUGMSG
target_asciimsg
target->type->target_request_data
target_hexmsg
target->type->target_request_data
TARGET_REQ_DEBUGCHAR
target_charmsg
openocd_main
setup_command_handler
log_init
command_init
command_registrants[i]
openocd_register_commands
"version"
"noinit"
"init"
"add_script_search_dir"
server_register_commands
telnet_register_commands
telnet_port = strdup("4444");
"exit"
"telnet_port"
tcl_register_commands
tcl_port = strdup("6666");
"tcl_port"
"shutdown"
gdb_register_commands
gdb_port = strdup("3333");
gdb_port_next = strdup("3333");
"gdb_sync"
"gdb_port"
"gdb_memory_map"
"gdb_flash_program"
"gdb_report_data_abort"
"gdb_breakpoint_override"
log_register_commands
"log_output"
"debug_level"
transport_register_commands
"transport init"
"transport list"
"transport select"
interface_register_commands
"adapter_khz"
"adapter_name"
"adapter_nsrst_delay"
"adapter_nsrst_assert_width"
"interface"
handle_interface_command
register_commands(jtag_interface[i]->commands)
allow_transports (jtag_interface->transports)
CALL_COMMAND_HANDLER(handle_interface_list_command)
"interface_transports"
"interface_list"
"reset_config"
target_register_commands
"targets"
"target init"
"target create"
jim_target_create
target_create
memcpy(target->type, target_types[x])
target_configure
target->type->target_jim_configure
TCFG_TYPE
TCFG_EVENT
TCFG_WORK_AREA_VIRT
TCFG_WORK_AREA_PHYS
TCFG_WORK_AREA_SIZE
TCFG_WORK_AREA_BACKUP
TCFG_ENDIAN
TCFG_VARIANT
TCFG_COREID
TCFG_CHAIN_POSITION
TCFG_DBGBASE
TCFG_RTOS
register_commands(target->type->commands)
target->type->target_create
andes_v3_target_create
andes_init_arch_info
target->arch_info = andes
andes->target = target
andes->common_magic = ANDES_COMMON_MAGIC
nds32_reg_init
register_commands(target_commands)
command_find_in_context
command_set_handler_data
c->jim_handler_data = target
"target current"
"target types"
"target names"
"target number"
"target count"
"target smp"
flash_register_commands
"flash bank"
"flash init"
"flash banks"
"flash list"
nand_register_commands
"nand device"
"nand drivers"
"nand init"
pld_register_commands
"pld device"
"pld init"
mflash_register_commands
"mflash bank"
"mflash init"
global_cmd_ctx = cmd_ctx;
util_init
ioutil_init
command_context_mode(COMMAND_CONFIG)
command_set_output_handler
openocd_thread
parse_cmdline_args
server_preinit
parse_config_file
server_init
tcl_init
add_service
c->new_connection = new_connection_handler;
c->input = input_handler;
c->connection_closed = connection_closed_handler;
socket()
bind()
listen()
telnet_init
add_service
command_run_line("init")
command_run_line("target init");
handle_target_init_command
command_run_line("init_targets")
command_run_line("init_board")
target_init
target_init_one
target_reset_examined
type->init_target
andes_v3_init_target
target_register_user_commands
target_request_register_commands
"target_request debugmsgs"
trace_register_commands
"trace history"
"trace point"
"fast_load_image"
"fast_load"
"profile"
"virt2pyhs"
"reg"
"poll"
"wait_halt"
handle_wait_halt_command
"halt"
handle_halt_command
target_halt
target_was_examined
target->type->halt
andes_v3_halt
edm->write_misc_reg (EDM_CMDR)
andes_v3_debug_entry
andes_v3->andes.target->state = TARGET_HALTED
andes_v3_examine_debug_reason
register_cache_invalidate
andes_v3->andes.full_context
andes_edm_full_context
edm->prepare
edm_read_reg
edm->finish
target_call_event_callbacks(TARGET_EVENT_DEBUG_HALTED/TARGET_EVENT_HALTED)
handle_wait_halt_command
target_wait_state
target_poll
target_was_examined
target->type->poll
andes_v3_poll
edm->read_misc_reg(EDM_MISC_DBGER)
target_call_event_callbacks(TARGET_EVENT_GDB_HALT)
"resume"
"reset"
"soft_reset_halt"
"step"
"mdw"
"mdh"
"mdb"
"mww"
"mwh"
"mwb"
"bp"
"rbp"
"wp"
"rwp"
"load_image"
"dump_image"
"verify_image"
"test_image"
"mem2array"
"array2mem"
"reset_nag"
"ps"
target_register_timer_callback (&handle_target)
adapter_init
jtag_interface->init()
jtag_get_speed_khz
jtag_get_speed()
jtag->speed()
jtag_get_speed_readable()
command_context_mode(COMMAND_EXEC)
command_run_line("transport init");
handle_transport_init
session->init
handle_transport_init
aice_transport_init
aice_init_targets
target_examine
target_examine_one
target->type->examine()
andes_v3_examine
andes_edm_init
andes_edm_setup
andes_edm_config
andes_build_reg_cache
andes_edm_read_debug_reg (NDS_EDM_SR_EDM_CFG)
target_set_examined
command_context_mode(COMMAND_CONFIG)
command_run_line("flash init");
command_run_line("mflash init");
command_run_line("nand init");
command_run_line("pld init");
command_context_mode(COMMAND_EXEC)
gdb_target_add_all
target_register_event_callback
server_loop
target_call_timer_callbacks
target_call_timer_callbacks_check_time(1)
target_call_timer_callback
handle_target
is_jtag_poll_safe
sense_handler
jtag_power_dropout
jtag_srst_asserted
target_poll
target->type->poll
andes_v3_poll
andes_v3_debug_entry
target_call_event_callbacks(TARGET_EVENT_HALTED)
target_call_event_callbacks(TARGET_EVENT_GDB_HALT)
target_handle_event
callback->callback
gdb_target_callback_event_handler
target_handle_event
gdb_frontend_halted
log_remove_callback
gdb_last_signal
rtos_update_threads
target_handle_event
callback->callback
gdb_target_callback_event_handler
target_handle_event
target_call_event_callbacks(TARGET_EVENT_GDB_END)
target_handle_event
callback->callback
gdb_target_callback_event_handler
target_call_event_callbacks(TARGET_EVENT_GDB_HALT)
server_quit
unregister_all_commands
command_done
adapter_quit
jtag->quit()