This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
CTRL-C Support
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] CTRL-C Support
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Mon, 17 Sep 2001 12:47:53 -0700
Hi,
I need to be enlightened a bit about cdl macros for CTRL-C support.
>From CDL description, I see:
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
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 Control+C
or pressing the STOP button. This option differs from
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT in that it is used when
GDB stubs are present.
and
CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
This option adds an interrupt handler for the GDB serial line
which will listen for GDB break packets. This lets you stop the
target asynchronously when using GDB, usually by hitting Control+C
or pressing the STOP button. This option differs from
CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT in that it is used when the GDB
stubs are NOT present."
When I compile redboot (including gdb stub) the first option is on. Then i
run my app in gdb. It's unclear for me if I need the second option when
building my app or if the stub already handle that for me.
Thanks
--
Fabrice Gautier,
Fabrice_Gautier@sdesigns.com