Building GDB 6.1 for SH target

Daniel Jacobowitz drow@false.org
Wed May 26 12:48:00 GMT 2004


On Wed, May 26, 2004 at 12:30:29PM +0100, Julian Back wrote:
> Daniel Jacobowitz wrote:
> 
> >On Tue, May 25, 2004 at 04:41:09PM +0100, Julian Back wrote:
> > 
> >
> >>I could just remove the warning from the source, but what would be the 
> >>correct way to fix this?  I would also be interested to know why GDB no 
> >>longer seems to have Linux support for SH.
> >>   
> >>
> >
> >No one's updated the GDB sh-linux port in a long time, and GDB has
> >evolved out from under it.
> > 
> >
> I realise that.  My immediate problem has been solved by recompiling GDB 
> with a target of "sh-elf".  I would be interested to know of any 
> specific changes I could make to reinstate the sh-linux port.

Take a look at the osabi sniffers used by some other targets; SH needs
to register one, and that will fix the warning.  I don't know if it
needs to do anything.

If you're interested in working on the SH port, will you be able to
file a copyright assignment?

-- 
Daniel Jacobowitz



More information about the Gdb mailing list