Diff for /src/gnu/usr.bin/binutils/gdb/i386/Attic/freebsd-nat.c between versions 1.3 and 1.4

version 1.3, 2003/07/13 07:13:51 version 1.4, 2004/02/03 19:22:53
Line 1 Line 1
 /* $FreeBSD: src/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c,v 1.21.4.4 2001/08/15 02:42:27 peter Exp $ */  /* $FreeBSD: src/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c,v 1.21.4.4 2001/08/15 02:42:27 peter Exp $ */
/* $DragonFly: src/gnu/usr.bin/binutils/gdb/i386/freebsd-nat.c,v 1.2 2003/06/17 04:25:44 dillon Exp $ *//* $DragonFly$ */
 /* Native-dependent code for BSD Unix running on i386's, for GDB.  /* Native-dependent code for BSD Unix running on i386's, for GDB.
    Copyright 1988, 1989, 1991, 1992, 1994, 1996 Free Software Foundation, Inc.     Copyright 1988, 1989, 1991, 1992, 1994, 1996 Free Software Foundation, Inc.
   
Line 139  fetch_core_registers (core_reg_sect, cor Line 139  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);
 }  }
   

Removed from v.1.3  
changed lines
  Added in v.1.4