[ECOS] How to disable GDB STUBS?

Jonathan Larmour jifl@eCosCentric.com
Tue Nov 5 13:24:00 GMT 2002


Gary Thomas wrote:
> On Tue, 2002-11-05 at 12:36, Agarwal, Lomesh wrote:
> 
>>I have ported RedBoot to my custom board. I am using it to load Linux
>>and to manage flash binaries. I don't need any GDB support for my
>>platform. But when user types + or $ it goes into GDB stuff and hangs.
>>So, I was thinking it to remove completely so that it doesn't hang.
>>
> 
> 
> More properly, just use the CLI the way it's designed.  If you need
> to type a "+" or "$", escape them.  For example:

I think disabling included stubs should still work though. There are 
ifdefs in redboot exactly to catch this. Lomesh should disable the option 
with user_value 0 by editing the CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS option 
in the ecos.ecc file _after_ doing the import of the .ecm file.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list