This is the mail archive of the ecos-devel@sourceware.org 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]
Other format: [Raw text]

Re: GDB stubs question


Am Dienstag, 6. Februar 2007 13:43 schrieb Gary Thomas:
> Lars Poeschel wrote:
> > Hi!
> >
> > I am trying to port eCos/Redboot to a new architecture. I am up to
> > implementing GDB stubs now. Is there a list of functions which have to be
> > implemented minimally ?
> > For the macros HAL_GET_GDB_REGISTERS() and HAL_SET_GDB_REGISTERS() the
> > reference manual says they should translate between HAL_SavedRegisters
> > and a "GDB array". Where do I know the layout of this "GDB array" from ?
>
> The GDB sources, I'm afraid.

Why afraid ?

I am not sure, because HAL_SavedRegisters is per thread structure and GDB 
seems to deal only with function call frames (struct frame_saved_regs). Is it 
the same for that case ?

> What's the architecture?

It is Fujitsu FR30.


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