This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]


   Date: Thu, 22 Jun 2000 11:26:04 -0700 (PDT)
   From: Takis Psarogiannakopoulos <takis@XFree86.Org>

   Dear Mark,

   Thank you for answering this. Yes I know that FPU regs are short ints
   (some of them) and I use the correct structs when I want to print
   them. However by adding to the file i387-tdep.o we have an
   immediate problem. It doesnt compile as it needs defs such as
   FCOFF_REGNUM etc ... so there the question what is what. 
   That is where my e-mail was targetting. For the story I have ported 
   gdb-4.18 to DG/UX and sources are in 
   pub/XFree86/3.3.6/binaries/DGUX-ix86/GDB_BETA. (if you have time
   take a look in the file there gdb/i386dgux-nat.c to verify that 
   I ma treating correctll the fpu regs). That port (fully working)
   never make it to the oficcial 5.0 for several reasons (mailnly I had not
   the time to request and sign copyright assignments for the *several* parts
   of gdb as bfd, etc etc ...!

I've taken a look at the stuff now.  However, since the FPU stuff is
rather different in 5.0, I don't think it's very useful to comment on
the way you handle things in your 4.18 based port.  If you follow my
advice you shouldn't have to do any significant manipulations on the
FPU state at all, and you could remove most of your home-grown FPU
stuff from i386dgux-nat.c.

It would be great if you could contribute your DG/UX port back to the
FSF.  Indeed we need a copyright assignment first.  If you can find
the time to do them, please do so ASAP.  They take some time being

Before we can integrate your DG/UX port into the official GDB tree,
some bits will have to be cleaned up.  First of all, you'll have to
base your work on the current development version.  Working from
snapshots is fine, but working from CVS is much more convenient.
Right now there is quite a bit of code duplication, and we'll have to
try to reduce that a bit.  You've alse added some DG/UX-specific
#ifdefs that will have to be eliminated.  I'll be happy to work
together on those issues.

   Now since I dont have CVS I would be greatfull if you send the files
   i387-nat.c and latest i386bsd.c ... 

Since you told me you downloaded a recent snapshot, you probably
already have them.  If you still need those files, drop me a mail.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]