redboot w/o gdb stubs

Gary Thomas gary@mlbassoc.com
Mon Dec 8 15:03:00 GMT 2003


On Mon, 2003-12-08 at 05:33, Jani Monoses wrote:
> With this patch one can disable the stubs in a gdb build. Setting this
> to 0 allows disabling CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS in the hal
> common cdl. This just moves the requirement for stubs to a separate cdl
> option I don't know enough CDL to make it control that other option in
> hal common.

I agree that this would be nice.  I can't figure out a way to make it
truly automatic yet though.  I have some ideas and I'll let you know
what I come up with.

> I see this has come up at least 3 times in the past and unless you find
> something bogus with it it would be nice to have it in CVS.
> If so I'll send a changelog entry and a patch for powerpc so that builds
> without stubs.

I'm interested to know what patch to the PowerPC code you had to make.

> 
> On ARM this means 15-20 K of code and 10K of BSS less for a redboot
> build. For powerpc 15K code and 6K bss for the single platform I built
> for.
> 
> Comments?
> 
> Jani
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-patches mailing list