Skip to content

system: update gdbstub dependency to LIBC_GDBSTUB - #4128

Open
anjiahao1 wants to merge 1 commit into
apache:masterfrom
anjiahao1:20261124_gdbstub-rename
Open

anjiahao1 wants to merge 1 commit into
apache:masterfrom
anjiahao1:20261124_gdbstub-rename

Conversation

@anjiahao1

@anjiahao1 anjiahao1 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow the libc gdbstub configuration rename by updating the
SYSTEM_GDBSTUB and SYSTEM_DEBUGPOINT dependencies to LIBC_GDBSTUB.

NuttX companion: apache/nuttx#22272 (must be merged together).

Depends-on: apache/nuttx#22272

The LIBC_GDBSTUB || LIB_GDBSTUB fallback lets this tree build with
either the current NuttX master or the companion rename PR.

Pair build with the NuttX companion (qemu-armv7a:gdbstub-pair with
CONFIG_SYSTEM_GDBSTUB=y) confirms that the gdbstub app is enabled and
the image builds.

Impact

  • Is new feature added? NO
  • Impact on user: NO
  • Impact on build: NO
  • Impact on hardware: NO
  • Impact on documentation: NO
  • Impact on security: NO
  • Impact on compatibility: NO

Testing

checkpatch passes. The LIBC_GDBSTUB || LIB_GDBSTUB dependency builds
against either the current NuttX master or the companion rename.

Pair build with the NuttX companion (qemu-armv7a:gdbstub-pair with
CONFIG_SYSTEM_GDBSTUB=y): the gdbstub app is enabled and the image
builds.

PR verification

  • This PR introduces only one functional change.
  • I have updated all required description fields above.
  • My PR adheres to Contributing Guidelines and Documentation.
  • My PR is still work in progress (not ready for review).
  • My PR is ready for review and can be safely merged into a codebase.

@anjiahao1

Copy link
Copy Markdown
Contributor Author

Paired with apache/nuttx#22272

Follow the libc gdbstub configuration rename in the corresponding
NuttX change.  Accept the old LIB_GDBSTUB symbol during the
transition so this tree also builds with the current NuttX master.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
@github-actions

Copy link
Copy Markdown

⚠️ depends-on could not be parsed

A depends-on: line was found in the PR description, but no valid dependency was parsed. Supported repositories: apache/nuttx, apache/nuttx-apps; the PR id must be numeric.

Expected format:

depends-on: [apache/nuttx/pull/<N> apache/nuttx-apps/pull/<M>]

CI run: https://github.com/apache/nuttx-apps/actions/runs/45395642346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants