This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [5.2.1] quiet warnings for gdbreplay.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: obrien at FreeBSD dot org, gdb-patches at sources dot redhat dot com
- Date: Fri, 28 Jun 2002 14:08:20 -0400
- Subject: Re: [5.2.1] quiet warnings for gdbreplay.c
- References: <20020627204720.A13445@dragon.nuxi.com> <3D1C8AEF.5020508@ges.redhat.com>
On Fri, Jun 28, 2002 at 12:12:31PM -0400, Andrew Cagney wrote:
> >+#ifdef HAVE_STRING_H
> >+#include <string.h>
> >+#endif
>
> Should that bit be "gdb_string.h"?
That depends :) gdbreplay is not part of GDB and has a different
config.h header (tests for a different set of macros). I had
eliminated all references to the gdb source code but then I introduced
an include of "gdb_proc_service.h", since the alternative was just
duplicating it; I have the feeling we should move that and headers like
gdb_string.h somewhere common - are they include/gdb/ candidates?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer