This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA] Generic OS ABI handling
> On Thu, May 16, 2002 at 05:57:01PM -0400, Elena Zannoni wrote:
>
> > I completely missed the fact that the sh-tdep.c changes were included
> > here, sorry.
>
> No problem :-)
>
> > The sh* part is approved. A question, should be osabi.h be included
> > in defs.h? I see that in one file you add both include osabi.h
> > and defs.h. Another question, have you thought about whether this new
> > generic mechanism applies to the rs6000-tdep.c file as well? If so, I
> > can make the required changes.
>
> Ah, yes, I did put the inclusion of osabi.h into defs.h. I must
> have missed the duplicate inclusion in osabi.c -- thanks for pointing
> it out.
Oh, thanks, I missed that. So, you're removing osabi.h from defs.h,
right? We're trying to trim the size of the defs.h include list :-)
Andrew
> Yes, this new generic mechanism should work equally well for the rs6000.
> So far, I have made the sh, alpha, arm, and mips targets use it (I've
> posted patches for sh, alpha, and arm ... mips I will post when I post
> my mips*-*-netbsd* configuration).