OpenOCD
|
Go to the source code of this file.
Functions | |
static struct esp_semihost_data | __attribute__ ((unused)) |
int | esp_semihosting_basedir_command (struct command_invocation *cmd) |
int | esp_semihosting_common (struct target *target) |
static int | esp_semihosting_sys_seek (struct target *target, uint64_t fd, uint32_t pos, size_t whence) |
|
static |
Definition at line 1 of file esp_semihosting.c.
References LOG_ERROR, NULL, esp_xtensa_common::semihost, target_get_gdb_arch(), and target_to_esp_xtensa().
int esp_semihosting_basedir_command | ( | struct command_invocation * | cmd | ) |
Definition at line 91 of file esp_semihosting.c.
References semihosting::basedir, CMD, CMD_ARGC, CMD_ARGV, CMD_CTX, command_print(), ERROR_FAIL, ERROR_OK, get_current_target(), semihosting::is_active, LOG_ERROR, target::semihosting, and semihosting::setup.
int esp_semihosting_common | ( | struct target * | target | ) |
Definition at line 40 of file esp_semihosting.c.
References ERROR_NOT_IMPLEMENTED, ERROR_OK, ESP_SEMIHOSTING_SYS_APPTRACE_INIT, ESP_SEMIHOSTING_SYS_BREAKPOINT_SET, ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT, ESP_SEMIHOSTING_SYS_DRV_INFO, esp_semihosting_sys_seek(), ESP_SEMIHOSTING_SYS_SEEK, ESP_SEMIHOSTING_SYS_WATCHPOINT_SET, LOG_TARGET_DEBUG, semihosting::op, semihosting::param, semihosting::result, target::semihosting, semihosting_get_field(), semihosting_read_fields(), and semihosting::sys_errno.
Referenced by esp_xtensa_semihosting_init().
|
static |
Definition at line 30 of file esp_semihosting.c.
References ERROR_OK, LOG_TARGET_DEBUG, semihosting::result, target::semihosting, and semihosting::sys_errno.
Referenced by esp_semihosting_common().