Skip to content

[FEATURE] GDB polling stub entry for FW crashes #1496

@lgirdwood

Description

@lgirdwood

Is your feature request related to a problem? Please describe.
There needs to be a Kconfig debug option that invokes the GDB stub in IPC polling mode (i.e.not using scheduler for IPC) upon any FW exception or crash.

Describe the solution you'd like
GDB stub will be started in polling mode for any FW crash if enabled in Kconfig. GDB commands over IPC should be polled (by reading IPC registers in a loop) to avoid issues in scheduler. It may also be necessary to use a different stack region (in order to preserve original stack).

Metadata

Metadata

Assignees

No one assigned

    Labels

    NotableEnhancement is significant or notable for release.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions