This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Difference between CTRLC & BREAK support on GDB stubs
- To: Rosimildo daSilva <rosimildo at hotmail dot com>
- Subject: Re: [ECOS] Difference between CTRLC & BREAK support on GDB stubs
- From: Robin Farine <advanc at dial dot eunet dot ch>
- Date: Tue, 17 Oct 2000 18:27:38 +0200 (CEST)
- cc: ecos-discuss at sourceware dot cygnus dot com
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