diff options
author | Michael Snyder <msnyder@specifix.com> | 2002-01-09 20:48:43 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2002-01-09 20:48:43 +0000 |
commit | c302b236a5ca864305b7afdd52e79f9ba17f78ec (patch) | |
tree | 455f960cdec64780c4c87802940a72958bdf1c85 /gdb/gregset.h | |
parent | 6cc50aa5c8395bdde8ea445156e64afbf9a8eb4c (diff) | |
download | gdb-c302b236a5ca864305b7afdd52e79f9ba17f78ec.tar.gz |
2002-01-09 Michael Snyder <msnyder@redhat.com>
* gregset.h (gdb_fpxregset_t): Define.
(supply_fpxregset): Prototype.
(fill_fpxregset): Prototype.
Diffstat (limited to 'gdb/gregset.h')
-rw-r--r-- | gdb/gregset.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gdb/gregset.h b/gdb/gregset.h index dc4aa4eaade..f51dded5ccb 100644 --- a/gdb/gregset.h +++ b/gdb/gregset.h @@ -1,5 +1,5 @@ /* Interface for functions using gregset and fpregset types. - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2002 Free Software Foundation, Inc. This file is part of GDB. @@ -52,4 +52,18 @@ extern void supply_fpregset (gdb_fpregset_t *fpregs); extern void fill_gregset (gdb_gregset_t *gregs, int regno); extern void fill_fpregset (gdb_fpregset_t *fpregs, int regno); +#ifdef HAVE_PTRACE_GETFPXREGS +/* Linux/i386: Copy register values between GDB's internal register cache + and the i386 extended floating point registers. */ + +#ifndef GDB_FPXREGSET_T +#define GDB_FPXREGSET_T elf_fpxregset_t +#endif + +typedef GDB_FPXREGSET_T gdb_fpxregset_t; + +extern void supply_fpxregset (gdb_fpxregset_t *fpxregs); +extern void fill_fpxregset (gdb_fpxregset_t *fpxregs, int regno); +#endif + #endif |