This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: redboot w/o gdb stubs
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Jani Monoses <jani at iv dot ro>
- Cc: ecos-patches at sources dot redhat dot com
- Date: 08 Dec 2003 08:03:08 -0700
- Subject: Re: redboot w/o gdb stubs
- Organization: MLB Associates
- References: <20031208143355.0d20dcda.jani@iv.ro>
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