23.3.4.5 .dbg_code Section
This section reserves space for the debug exception handler. This section is only
allocated if the symbol _DEBUGGER
has been defined. (This symbol is
defined if the -mde-bugger
command line option is specified to the
shell.) This section is located at the debug code address
(_DBG_CODE_ADDR
) as specified in the processor definitions linker
script and is assigned to the debug executive memory region
(debug_exec_mem
). The section is marked as NOLOAD
because it is only intended to ensure that application code cannot be placed at
locations reserved for the debug executive.
.dbg_code _DBG_CODE_ADDR (NOLOAD) :
{
. += (DEFINED (_DEBUGGER) ? 0xFF0 : 0x0);
} > debug_exec_mem