This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: How to disable GDB STUBS?
- From: "Agarwal, Lomesh" <lomesh dot agarwal at intel dot com>
- To: "Jonathan Larmour" <jifl at eCosCentric dot com>, "Gary Thomas" <gthomas at eCosCentric dot com>
- Cc: "eCos Discussion" <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 5 Nov 2002 13:33:41 -0800
- Subject: RE: [ECOS] How to disable GDB STUBS?
Jifi,
You mean I should put something like this in my ecm file:
cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
user_value 0
};
In place of
cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
inferred_value 0
};
Right?
Thanks,
Lomesh
-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Tuesday, November 05, 2002 1:24 PM
To: Gary Thomas
Cc: Agarwal, Lomesh; eCos Discussion
Subject: Re: [ECOS] How to disable GDB STUBS?
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