Patch to support AMD64 Solaris 10

Mark Kettenis kettenis@gnu.org
Sat Oct 30 19:57:00 GMT 2004


   Date: Tue, 26 Oct 2004 22:49:53 +0200 (CEST)
   From: Mark Kettenis <kettenis@gnu.org>

   The splitting of the file doesn't make me happy.  It'd be better if
   the Solaris code didn't attempt to use i386v4-nat.c at all, but that
   means some other changes are needed.  Big difference between SPARC and
   AMD64 on one side and i386 on the other side is that the layout of the
   prfpregset is defined in the -tdep.c file instead of the -nat.c file.
   That's what I need to do for i386 too.  Please give me a few days to
   set that right first.

OK, I didn't get it completely right yet, but I've checked in a
i386-sol2-nat.c that avoids too much code duplication and should work.
It probably needs to be tweaked a bit before it really works for the
64-bit case.

Cheers,

Mark



More information about the Gdb-patches mailing list