[ECOS] GDB stub for ADS8260

Jesper Skov jskov@cambridge.redhat.com
Mon Mar 12 04:55:00 GMT 2001


>>>>> "Suresh" == Suresh N <nsuresh@cdotb.ernet.in> writes:

Suresh> Hi all, I have done the porting of HAL to ADS8260
Suresh> board.... and simple serial driver is working....  i am able
Suresh> to run hello world and simple thread programs...

Suresh>     now i want to build GDB stubs for the same board and
Suresh> program the flash..  any clues of how to go about it.....

Yes, see the CYGBLD_BUILD_GDB_STUBS and CYGPKG_REDBOOT_HAL_OPTIONS
options in the mbx HAL. Copy those to your HAL, add these:
    implements    CYGINT_HAL_DEBUG_GDB_STUBS
    implements    CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
    implements    CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT

And get the redboot template to build.

Jesper



More information about the Ecos-discuss mailing list