This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Difference between CTRLC & BREAK support on GDB stubs



Rosimildo,

The "plf_misc.c" file for the jmr3904 CPU defines 'cyg_hal_user_break()'
as HAL_BREAKPOINT(breakinst) if neither CYGSEM_HAL_USE_ROM_MONITOR_CygMon
nor CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS is defined.

This installs a breakpoint instruction the GDB stuff will not handle
specially as it does for the 'breakpoint()' routine, that is, skipping
one instruction.

I suspect that the code for your platform uses a similar routine and that
you build without any of the two CPP symbols above defined.

Robin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]