target/semihosting: export semihosting_common_handlers[] from header file
Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I4add0c1dc7888497ee90fd02754607a16434b66f Reviewed-on: https://review.openocd.org/c/openocd/+/7075 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
5ffc745ea3
commit
49cf334e98
|
@ -3144,8 +3144,6 @@ static const struct command_registration aarch64_exec_command_handlers[] = {
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const struct command_registration semihosting_common_handlers[];
|
|
||||||
|
|
||||||
static const struct command_registration aarch64_command_handlers[] = {
|
static const struct command_registration aarch64_command_handlers[] = {
|
||||||
{
|
{
|
||||||
.name = "arm",
|
.name = "arm",
|
||||||
|
|
|
@ -1116,8 +1116,6 @@ static int jim_mcrmrc(Jim_Interp *interp, int argc, Jim_Obj * const *argv)
|
||||||
return JIM_OK;
|
return JIM_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern const struct command_registration semihosting_common_handlers[];
|
|
||||||
|
|
||||||
static const struct command_registration arm_exec_command_handlers[] = {
|
static const struct command_registration arm_exec_command_handlers[] = {
|
||||||
{
|
{
|
||||||
.name = "reg",
|
.name = "reg",
|
||||||
|
|
|
@ -632,7 +632,6 @@ static const struct command_registration esp32_any_command_handlers[] = {
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const struct command_registration semihosting_common_handlers[];
|
|
||||||
static const struct command_registration esp32_command_handlers[] = {
|
static const struct command_registration esp32_command_handlers[] = {
|
||||||
{
|
{
|
||||||
.chain = esp_xtensa_smp_command_handlers,
|
.chain = esp_xtensa_smp_command_handlers,
|
||||||
|
|
|
@ -3114,7 +3114,6 @@ static const struct command_registration riscv_exec_command_handlers[] = {
|
||||||
* protocol, then a command like `riscv semihosting enable` will make
|
* protocol, then a command like `riscv semihosting enable` will make
|
||||||
* sense, but for now all semihosting commands are prefixed with `arm`.
|
* sense, but for now all semihosting commands are prefixed with `arm`.
|
||||||
*/
|
*/
|
||||||
extern const struct command_registration semihosting_common_handlers[];
|
|
||||||
|
|
||||||
const struct command_registration riscv_command_handlers[] = {
|
const struct command_registration riscv_command_handlers[] = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -201,4 +201,6 @@ void semihosting_set_field(struct target *target, uint64_t value,
|
||||||
size_t index,
|
size_t index,
|
||||||
uint8_t *fields);
|
uint8_t *fields);
|
||||||
|
|
||||||
|
extern const struct command_registration semihosting_common_handlers[];
|
||||||
|
|
||||||
#endif /* OPENOCD_TARGET_SEMIHOSTING_COMMON_H */
|
#endif /* OPENOCD_TARGET_SEMIHOSTING_COMMON_H */
|
||||||
|
|
Loading…
Reference in New Issue