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).
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).