This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Fixups in procfs.c
- To: msnyder at cygnus dot com
- Subject: Re: [PATCH] Fixups in procfs.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 27 Apr 2000 09:42:25 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200004262338.QAA06074@seadog.cygnus.com>
msnyder@cygnus.com wrote:
>
> I will check in the following minor fix-ups in procfs:
>
> 2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
>
> * procfs.c (comments): Eliminate "???" in comments, which GCC
> wants to interpret as a trigraph. (fill_gregset, supply_gregset,
> fill_fpregset, supply_fpregset): declare.
> (procfs_wait): Sysargs is a long, change printf format to match.
> (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
>
> + /* These could go in a header file, but the many and various
> + definitions of gregset_t would make it tricky... MVS */
> + extern void fill_gregset (gdb_gregset_t *, int);
> + extern void fill_fpregset (gdb_fpregset_t *, int);
> + extern void supply_gregset (gdb_gregset_t *);
> + extern void supply_fpregset (gdb_fpregset_t *);
> +
Michael,
This change has to be wrong. The extern declaration should be comming
from a header file somewhere.
Andrew