This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Porting advice or documentation request
Richard Earnshaw writes:
> > Hi all,
> >
> > I'm working on this new gdb port, and more than often I'm stuck. I have
> > been told that the d10v port is the most authorative template for how
> > new targets should be written. Unfortunately it is impossible to learn
> > anything about the d10v's hardware architecture on the net, so I find it
> > a bit difficult to template from.
>
> I can sympathise. I've tried on a couple of occasions to update the ARM
> target to use the new interfaces and I've repeatedly run into situations
> where the GDB's abstraction model is just not obvious from staring at the
> code.
>
> Andrew, I think we really need a 10,000 ft view document on gdb's internal
> architecture to complement the list of macros that a target can define...
>
> R.
>
I think checking out the new i386 frame branch could help here
too. Mark updated the i386 to use the new frame stuff, so that could
be used as example.
elena