Skip to content

esp_gdbstub: build without task support (IDFGH-17710)#18649

Open
dhimasardinata wants to merge 1 commit into
espressif:masterfrom
dhimasardinata:fix/gdbstub-command-name-match
Open

esp_gdbstub: build without task support (IDFGH-17710)#18649
dhimasardinata wants to merge 1 commit into
espressif:masterfrom
dhimasardinata:fix/gdbstub-command-name-match

Conversation

@dhimasardinata

Copy link
Copy Markdown
Contributor

Summary

  • Keep command_name_matches() available for always-on qSupported handling.
  • Skip task-TCB FPU/coprocessor register paths when GDBStub task support is disabled.
  • Preserve the existing task/runtime paths when support is enabled.

Verification

  • git diff --check
  • idf.py -C examples/system/gdbstub -B /tmp/gdbstub_disabled_build2 -D SDKCONFIG=/tmp/gdbstub_disabled_sdkconfig2 -D "SDKCONFIG_DEFAULTS=sdkconfig.defaults;/tmp/gdbstub-disabled.defaults" set-target esp32s3 build
  • idf.py -C examples/system/gdbstub -B /tmp/gdbstub_default_build -D SDKCONFIG=/tmp/gdbstub_default_sdkconfig set-target esp32s3 build
  • PATH=/home/dhimasardinata/.espressif/tools/riscv32-esp-elf/esp-15.2.0_20251204/riscv32-esp-elf/bin:$PATH idf.py -C examples/system/gdbstub -B /tmp/gdbstub_disabled_c6_build2 -D SDKCONFIG=/tmp/gdbstub_disabled_c6_sdkconfig2 -D "SDKCONFIG_DEFAULTS=sdkconfig.defaults;/tmp/gdbstub-disabled.defaults" set-target esp32c6 build

Closes #18466

Keep common command matching available for qSupported handling and avoid task-TCB coprocessor paths when task listing is disabled.

Closes espressif#18466
@github-actions github-actions Bot changed the title esp_gdbstub: build without task support esp_gdbstub: build without task support (IDFGH-17710) May 24, 2026
@espressif-bot espressif-bot added the Status: Opened Issue is new label May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Opened Issue is new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gdbstub: command_name_matches compile error when GDBSTUB_SUPPORT_TASKS and GDBSTUB_RUNTIME are both disabled (IDFGH-17531)

2 participants