public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Building RedBoot without GDB stubs
@ 2003-09-22  9:30 Chris Garry
  2003-09-30 12:22 ` Jani Monoses
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Garry @ 2003-09-22  9:30 UTC (permalink / raw)
  To: eCos Discussion

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.

Am I missing something?

Regards,
Chris

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Building RedBoot without GDB stubs
  2003-09-22  9:30 [ECOS] Building RedBoot without GDB stubs Chris Garry
@ 2003-09-30 12:22 ` Jani Monoses
  0 siblings, 0 replies; 2+ messages in thread
From: Jani Monoses @ 2003-09-30 12:22 UTC (permalink / raw)
  To: Chris Garry; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-30 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22  9:30 [ECOS] Building RedBoot without GDB stubs Chris Garry
2003-09-30 12:22 ` Jani Monoses

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).