This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MORE Question about GDB response operation on Target.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]