* i386bsd-nat.c: Don't include <sys/procfs.h>.
authorMark Kettenis <kettenis@gnu.org>
Mon, 31 May 2004 11:20:41 +0000 (11:20 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 31 May 2004 11:20:41 +0000 (11:20 +0000)
commit6cfb204197ab46ab8aec26a1ed22d4c23aab8bc1
tree6f59b10ade68801d457053dcf77b9af980076fc6
parent1fc7d51975862d94b9413cfbbb4fabf39a1faaa6
* i386bsd-nat.c: Don't include <sys/procfs.h>.
(gregset_t, fpregset_t): Remove typedefs.
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
(REG_OFFSET): Rename argument.
(i386bsd_r_reg_offset): Rename from reg_offset.
(REG_ADDR): Remove macro.
(cannot_fetch_register, supply_gregset, fill_gregset): Remove
functions.
(i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
(fetch_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_supply_gregset
instead of supply_gregset.
(store_inferior_registers): Use `struct reg' and `struct fpreg'
instead of gregset_t and fpregset_t.  Use i386bsd_collect_gregset
instead of fill_gregset.
(register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
gdb/ChangeLog
gdb/i386bsd-nat.c