This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Building RedBoot without GDB stubs
- From: Jani Monoses <jani at iv dot ro>
- To: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 30 Sep 2003 15:06:58 +0300
- Subject: Re: [ECOS] Building RedBoot without GDB stubs
- References: <005001c380ec$862e3c00$500ba8c0@jasper>
On Mon, 22 Sep 2003 10:33:04 +0100
"Chris Garry" <cgarry@sweeneydesign.co.uk> wrote:
> Is it possible to build RedBoot without the GDB stubs included?
>
> If I disable the stubs in the configtool
> (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS) I am not able to build
> a RedBoot image because the CYGBLD_BUILD_REDBOOT option has 2
> requires not met:
>
> requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS }
> requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT }
>
> But when I use the configtool to search the configuration for the macro name
> CYGINT_HAL_DEBUG_GDB_STUBS, it is not found.
I managed to build rb without stubs by only uncommenting the following lines in the
hal .cdl. It works just fine I am not sure if I missed something though.
Saved about 15K on ARM.
implements CYGINT_HAL_DEBUG_GDB_STUBS
implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
Jani
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss