This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Darwin Port (Part 1: changes in common files)
> Date: Mon, 10 Nov 2008 15:01:17 -0800
> From: Joel Brobecker <brobecker@adacore.com>
>
> > > + GDB_OSABI_DARWIN,
> > > + GDB_OSABI_DARWIN64,
> > > +
> > > GDB_OSABI_INVALID /* keep this last */
> > > };
> >
> > Why do you need both Darwin and Darwin64? We don't do this for other
> > operating systems that have both a 32-bit and a 64-bit variant.
>
> I looked at the way we do things, and I think that it simplifies
> the code a little. But I also think that it should be possible do
> without - this seems like a reasonable request, given that this
> would be consistent will all the other 32+64bit architectures.
Yes, that is indeed my concern. Doing things in a similar way to
other architectures makes things easier to maintain.