[ECOS] How to disable GDB STUBS?

Gary Thomas gthomas@ecoscentric.com
Tue Nov 5 11:43:00 GMT 2002


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:

    RedBoot> \+ this is a test
    ** Error: Illegal command: "+"
    RedBoot> \$ this is also
    ** Error: Illegal command: "$"

BTW - your platform isn't hanging - it's waiting for GDB commands.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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