This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB Ctrl-C problem
Xavier Wang wrote:
>
> I'd changed the configuration of my application to have break support enabled and
> Ctrl-C support disabled but still got the same result, ie, GDB stopped at
> HAL_BREAKPOINT() in breakpoint().
Okay, I just answered with the most obvious thing. But at a guess you could
try editting hal/mips/jmr3904/VERSION/src/plf_misc.c and editting
cyg_hal_user_break and replacing
#if defined(CYGSEM_HAL_USE_ROM_MONITOR_CygMon)
with
#if (defined(CYGSEM_HAL_USE_ROM_MONITOR_CygMon) || \
defined(CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs))
But I haven't tried this so I'm only guessing.
The alternative is using anonymous CVS, but that may be a bit of a system
shock as there are many changes.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine