diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-05-15 21:53:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-05-15 21:53:20 +0000 |
commit | 8599da2d51649d4e39103345404d6eee11872929 (patch) | |
tree | 15a5fc2ada3930058fe8e6192551876ef0c88aa9 /gdb/ppcobsd-tdep.h | |
parent | dc6641a55848bb8dfcb4d6dee66f63ca3d7977f4 (diff) | |
download | gdb-8599da2d51649d4e39103345404d6eee11872929.zip gdb-8599da2d51649d4e39103345404d6eee11872929.tar.gz gdb-8599da2d51649d4e39103345404d6eee11872929.tar.bz2 |
* ppcobsd-nat.c: Include "gdb_assert.h".
[PT_GETFPREGS] (getfpregs_supplies): New function.
(ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
versions that have PT_GETFPREGS.
(_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
ppcobsd_fpreg_offsets.
* ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
Declare.
* ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
variables.
(_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
Diffstat (limited to 'gdb/ppcobsd-tdep.h')
-rw-r--r-- | gdb/ppcobsd-tdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ppcobsd-tdep.h b/gdb/ppcobsd-tdep.h index 899d653..b1a7f8b 100644 --- a/gdb/ppcobsd-tdep.h +++ b/gdb/ppcobsd-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/powerpc. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -29,9 +29,11 @@ struct regcache; /* Register offsets for OpenBSD/powerpc. */ extern struct ppc_reg_offsets ppcobsd_reg_offsets; +extern struct ppc_reg_offsets ppcobsd_fpreg_offsets; /* Register sets for OpenBSD/powerpc. */ extern struct regset ppcobsd_gregset; +extern struct regset ppcobsd_fpregset; /* Supply register REGNUM in the general-purpose register set REGSET |