[PATCH]: Messy prototypes for supply_gregset and friends.

Michael Snyder msnyder@cygnus.com
Fri May 26 16:30:00 GMT 2000


msnyder@cygnus.com wrote in message
< 200005242109.OAA11369@seadog.cygnus.com >...

>I propose a new file, "gregset.h", which will contain prototypes for
>this family of functions, as well as a pair of typedefs,
>gdb_gregset_t and gdb_fpregset_t.  This header file will be included
>only by modules that use or define the functions.  The default types
>will be gregset_t and fpregset_t; any targets that want to use a
>different type will define GDB_GREGSET_T and GDB_FPREGSET_T in their
>nm.h file.

FYI, I've committed this.

>2000-05-24  Michael Snyder  <msnyder@seadog.cygnus.com>
>
>        * gregset.h: New file.  Prototypes for supply_gregset etc.
>        * procfs.h: Include gregset.h.  Delete local prototypes for
>        supply_gregset etc., and local typedef gdb_gregset_t etc.
>        * sol-thread.c: Include gregset.h, delete local prototypes,
>        add appropriate casts to gdb_gregset_t.
>        * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
>        sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
>        m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
>        irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
>        arm-linux-nat.c, alpha-nat.c: Include gregset.h.





More information about the Gdb-patches mailing list