[ECOS] Difference between CTRLC & BREAK support on GDB stubs
Sun Oct 15 23:35:00 GMT 2000
>>>>> "Rosimildo" == Rosimildo daSilva <email@example.com> writes:
Rosimildo> Hi, Could anyone explain the difference between CTRLC and
Rosimildo> BREAK support in the GDB stubs ?
Jonathan already did. But I'd like to add that eventually the BREAK
option will go away as all targets are changed to support the new
virtual vector magic.
In 1.3.1/MIPS you want to look at hal_default_isr in
Ctrl-c support work by enabling the serial receive interrupt, but not
attach any handler. If a serial RX interrupt reaches the
hal_default_isr() it will be recognized as such and a breakpoint will
be inserted at the PC of the interrupted function.
The behavior you saw is probably caused by the receive interrupt not
being enabled - then some old code in hal_diag.c catches the GDB
ctrl-c character the next time the target outputs a line of text.
More information about the Ecos-discuss