Diff for /src/gnu/usr.bin/binutils214/gdb/i386/Attic/freebsd-nat.c between versions 1.1 and 1.2

version 1.1, 2004/02/01 08:53:04 version 1.2, 2004/02/03 19:22:55
Line 141  fetch_core_registers (core_reg_sect, cor Line 141  fetch_core_registers (core_reg_sect, cor
       error ("Register %s not found in core file.", gdb_register_names[bad_reg]);        error ("Register %s not found in core file.", gdb_register_names[bad_reg]);
     }      }
   
 #if __FreeBSD_version >= 440000  
   addr = PCB_OFFSET + offsetof (struct pcb, pcb_save);    addr = PCB_OFFSET + offsetof (struct pcb, pcb_save);
 #else  
   addr = PCB_OFFSET + offsetof (struct pcb, pcb_savefpu);  
 #endif  
   memcpy (&pcb_savefpu, core_reg_sect + addr, sizeof pcb_savefpu);    memcpy (&pcb_savefpu, core_reg_sect + addr, sizeof pcb_savefpu);
 }  }
   
Line 175  extern void print_387_control_word (); Line 171  extern void print_387_control_word ();
 extern void print_387_status_word ();  extern void print_387_status_word ();
   
 #define fpstate         save87  #define fpstate         save87
 #if __FreeBSD_version >= 440000  
 #define U_FPSTATE(u)    (((struct pcb *)((char *)&u + PCB_OFFSET))->pcb_save.sv_87)  #define U_FPSTATE(u)    (((struct pcb *)((char *)&u + PCB_OFFSET))->pcb_save.sv_87)
 #else  
 #define U_FPSTATE(u)    (((struct pcb *)((char *)&u + PCB_OFFSET))->pcb_savefpu)  
 #endif  
   
 static void  static void
 i387_to_double (from, to)  i387_to_double (from, to)

Removed from v.1.1  
changed lines
  Added in v.1.2