This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: __mem_fault_handler, RedBoot and no GDB stubs.
David Vrabel said:
> Gary Thomas wrote:
>> David Vrabel said:
>>
>>>>The ARM should be changed - it seems to be the only architecture which
>>>>does not have a line like this:
>>>> hal/sh/arch/current/src/hal_misc.c:externC void* volatile __mem_fault_handler;
>>>
>>>Presumably, this means RedBoot's exception trapping for commands will
>>>only work if GDB stubs are present?
>>
>> No - it works without the stubs as well (at least on all the architectures
>> I've tested)
>
> cyg_hal_exception_handler() in hal/sh/arch/current/src/hal_misc.c just
> does a CYG_FAIL if GDB stubs aren't present. I can't see where it jumps
> to RedBoot's error_handler().
Look at the powerpc - it definitely works (there was no inference on my
part that I had tested the SH)
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss