The interface between eCos applications and the "ROM monitor" they are cooperating with needs to be made cleaner. Currently, different platforms and architectures use different CDL to describe this (see PPC and SH for examples - look for CYGSEM_HAL_USE_ROM_MONITOR). This CDL needs to be made consistent and more importantly, it needs to more completely describe the relationship between the monitor environment and the eCos application. Appropriate support also needs to be in place in the generic eCos layers. An example of where/how this matters can be found at .../hal/common/hal_misc.c - cyg_hal_user_break(). Currently this code will only build/work when the debug environment is GDB stubs built using virtual vector support, but that is not clear at all from either the code conditialization (#if) or the CDL which is used to enable it.
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=24291