This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS

Debug server hooks in debug console

Type: bool

Help

This option allows a debug server agent such as GDB to take over the
handling of traffic that goes through the console logic. The debug
server looks at characters received and decides to handle them itself if
they are some sort of control characters, or let the regular console
code handle them if they are of no special significance to it.

Direct dependencies

UART_CONSOLE && CONSOLE

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At drivers/console/Kconfig:52

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers → Use UART for console

config UART_CONSOLE_DEBUG_SERVER_HOOKS
    bool "Debug server hooks in debug console"
    depends on UART_CONSOLE && CONSOLE
    help
      This option allows a debug server agent such as GDB to take over the
      handling of traffic that goes through the console logic. The debug
      server looks at characters received and decides to handle them itself if
      they are some sort of control characters, or let the regular console
      code handle them if they are of no special significance to it.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)