This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: Messy prototypes for supply_gregset and friends.
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Re: [PATCH]: Messy prototypes for supply_gregset and friends.
- From: "Michael Snyder" <msnyder at cygnus dot com>
- Date: Fri, 26 May 2000 16:21:47 -0700
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <200005242109.OAA11369@seadog.cygnus.com>
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.