eCosTM Reference Manual
Prev | Chapter 15. Package: eCos HAL | Next

# Component: Source-level debugging support

#### Macro name

CYGPKG_HAL_DEBUG

#### Type

Dummy

#### Description

If the source level debugger gdb is to be used for debugging application code then it may be necessary to configure in support for this in the HAL.

## Option: Include GDB stubs in HAL

#### Macro name

CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS

#### Type

Boolean

#### Description

This option causes a set of GDB stubs to be included into the system. On some target systems the GDB support will be provided by other means, for example by a ROM monitor. On other targets, especially when building a ROM-booting system, the necessary support has to go into the target library itself.

## Option: Include GDB external break support

#### Macro name

CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT

#### Type

Boolean

#### Description

This option causes the GDB stub to add a serial interrupt handler which will listen for GDB break packets. This lets you stop the target asynchronously when using GDB, usually by hitting Ctrl+C or pressing the STOP button.

## Option: Include GDB multi-threading debug support

#### Macro name

CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT

#### Type

Boolean

#### Description

This option enables some extra HAL code which is needed to support multi-threaded source level debugging.

Prev | Home | Next
Package: eCos HAL | Up | Package: ARM architecture