fix(gdbstub): xtensa: fix FPU registers read and write

Closes https://github.com/espressif/esp-idf/issues/17944
This commit is contained in:
Alexey Lapshin
2026-02-02 10:49:16 +07:00
parent b9a308a47c
commit c57443c2b6
11 changed files with 408 additions and 294 deletions
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2020-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -91,6 +91,13 @@ void gdbstub_handle_uart_int(esp_gdbstub_frame_t *regs_frame);
* @param dst pointer to the GDB register file
*/
void esp_gdbstub_tcb_to_regfile(TaskHandle_t tcb, esp_gdbstub_gdb_regfile_t *dst);
/**
* Find the TCB that owns the given exception frame
* @param frame pointer to the exception frame
* @return pointer to the TCB, or NULL if not found
*/
const StaticTask_t *esp_gdbstub_find_tcb_by_frame(const esp_gdbstub_frame_t *frame);
#endif // CONFIG_ESP_GDBSTUB_SUPPORT_TASKS