Re: [PATCH/RFA] Include sh64 support for shle-*-netbsdelf*

Elena Zannoni
2002-05-13T22:13:38Z

Jason R Thorpe writes:
> On Mon, May 13, 2002 at 05:10:27PM -0400, Elena Zannoni wrote:
>
> > Wouldn't the same change be required to build sh*le-*-netbdself* ?
> > The tdep gdb file is going to be built for all the sh targets. And that file
> > requires the sh64 disassembly functions.
>
> Yah, probably. I've only been confiugring as sh-netbsdelf and shle-netbsdelf
> (since that is what the NetBSD OS build framework generally uses).
>

Yes, that's the same thing I did. I am going to drop the sh-hms target
in gdb. From the gdb point of view is just the same as the sh-elf
target.

> > Even the sh coff targets will require the sh64 stuff. :-(
>
> Sigh. Maybe the sh64 stuff should be split out a bit more?
>

I would suggest going the opposite direction. :-) Just unify everything as
much as possible, like gdb does. Just have a sh* target and be done
with it. Netbsd already builds elf and coff bfd targets together anyway.
Having 12 bfd sh targets seems confusing to me.

I think the main problem is that the sh disassembly interface is not
offering a single entry point. I think I'll write a wrapper.

Elena

> --
> -- Jason R. Thorpe <thorpej@wasabisystems.com>