This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building RedBoot without GDB stubs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]