This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: building arm ROM without GDB stubs
>>>>> "Dave" == Dave Airlie <airlied@parthus.com> writes:
Dave> sorry .. ARM7 PID ...
>> You don't say which platform. But look in the plf_stub.h header
>> file in the platform HAL - the reset macros are at the end. Move
>> them below the #ifdef INCLUDE_STUBS conditional compilation.
Hm, they already are on the PID - at least in the CVS repo.
OK, I met the same problem, and my solution was the below - not very
nice, but isn't too messy. The real fix is to move the RESET macros
to a different header file.
In hal_stub.h, move this:
#ifdef CYGBLD_HAL_PLATFORM_STUB_H
#include CYGBLD_HAL_PLATFORM_STUB_H
#else
#include <cyg/hal/plf_stub.h>
#endif
above the #ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS check.
Jesper