This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MORE Question about GDB response operation on Target.
- To: Tony Ko <nhko at gctsemi dot com>
- Subject: Re: [ECOS] MORE Question about GDB response operation on Target.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 18 Sep 2001 21:12:56 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <0F61D7853F0B434A90567901F0D604EF08041D@gctsemi.gctsemi.com>
Tony Ko wrote:
>
> >> But I wonder how Target respond to GDB command from Host.
> >> I looked into eCos source about GDB stub related part.
> >> But I'm afraid I could not find where target respond to GDB command.
> >> I mean most of GDB stub related parts are limited with
> >> " #ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS".
> >>
> >> So let me know where(on eCos package source) target respond to GDB
> >> command
> >> when CYGDBG_HAL_DEBUG_CTRLC_SUPPORT option is used.
>
> > In RedBoot. The application won't see the GDB traffic.
>
> ==> Fisrt,
> How does RedBoot respond GDB traffic? I mean How RedBoot knows
> "RedBoot should respond
> GDB traffic"?
> Second ,
> in this case, does Redboot itself support TRAP exception handler
> for breakpoint or something else( like single stepping ) ?
Read the code. You have the source!
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine