This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] fix some warnings
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 6 Dec 2002 13:34:53 -0500
- Subject: Re: [PATCH] fix some warnings
- References: <15856.54877.23515.952495@localhost.redhat.com>
Elena Zannoni writes:
>
> Fix some -Werror warnings.
>
> Committed as obvious.
>
> Elena
>
Grunt. Not my day....forgot the Makefile. Never prepare a patch while
talking on the phone.
2002-12-06 Elena Zannoni <ezannoni@redhat.com>
* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ppc-linux-nat.c: Ditto.
* Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
Update dependencies.
Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.291
diff -u -p -r1.291 Makefile.in
--- Makefile.in 6 Dec 2002 07:35:55 -0000 1.291
+++ Makefile.in 6 Dec 2002 18:36:25 -0000
@@ -1514,7 +1514,7 @@ aix-thread.o: aix-thread.c $(defs_h) $(g
alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
$(value_h) $(alpha_tdep_h)
alpha-nat.o: alpha-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
- $(regcache_h) $(alpha_tdep_h) $(gregset_h)
+ $(regcache_h) $(alpha_tdep_h) $(gregset_h) $(gdb_string_h)
alpha-osf1-tdep.o: alpha-osf1-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
$(value_h) $(alpha_tdep_h)
alpha-tdep.o: alpha-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
@@ -1810,7 +1810,7 @@ ia64-aix-nat.o: ia64-aix-nat.c $(defs_h)
$(objfiles_h) $(gdb_stat_h)
ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h)
ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(inferior_h) $(target_h) \
- $(gdbcore_h) $(regcache_h) $(gregset_h)
+ $(gdbcore_h) $(regcache_h) $(gregset_h) $(gdb_string_h)
ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h)
ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
$(arch_utils_h) $(floatformat_h) $(regcache_h) $(doublest_h) \
@@ -2015,7 +2015,7 @@ ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore
$(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(ppc_tdep_h) \
$(regcache_h)
ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
- $(gdbcore_h) $(regcache_h) $(gregset_h) $(ppc_tdep_h)
+ $(gdbcore_h) $(regcache_h) $(gregset_h) $(ppc_tdep_h) $(gdb_string_h)
ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
$(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
$(objfiles_h) $(regcache_h) $(value_h) $(solib_svr4_h) $(ppc_tdep_h)
>
> 2002-12-06 Elena Zannoni <ezannoni@redhat.com>
>
> * ia64-linux-nat.c: Include gdb_string.h.
> * alpha-nat.c: Ditto.
> * ia64-linux-nat.c: Ditto.
>
>
> Index: ppc-linux-nat.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/ppc-linux-nat.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 ppc-linux-nat.c
> --- ppc-linux-nat.c 30 Jul 2002 19:03:49 -0000 1.18
> +++ ppc-linux-nat.c 6 Dec 2002 16:50:15 -0000
> @@ -20,6 +20,7 @@
> Boston, MA 02111-1307, USA. */
>
> #include "defs.h"
> +#include "gdb_string.h"
> #include "frame.h"
> #include "inferior.h"
> #include "gdbcore.h"
> Index: alpha-nat.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/alpha-nat.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 alpha-nat.c
> --- alpha-nat.c 14 Nov 2002 20:37:28 -0000 1.13
> +++ alpha-nat.c 6 Dec 2002 16:50:15 -0000
> @@ -20,6 +20,7 @@
> Boston, MA 02111-1307, USA. */
>
> #include "defs.h"
> +#include "gdb_string.h"
> #include "inferior.h"
> #include "gdbcore.h"
> #include "target.h"
> Index: ia64-linux-nat.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/ia64-linux-nat.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 ia64-linux-nat.c
> --- ia64-linux-nat.c 14 Nov 2002 20:37:28 -0000 1.14
> +++ ia64-linux-nat.c 6 Dec 2002 16:50:15 -0000
> @@ -21,6 +21,7 @@
> Boston, MA 02111-1307, USA. */
>
> #include "defs.h"
> +#include "gdb_string.h"
> #include "inferior.h"
> #include "target.h"
> #include "gdbcore.h"