This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Get rid of warnings in sunos-solib.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 20 Oct 2002 16:38:26 +0200 (CEST)
- Subject: [PATCH]: Get rid of warnings in sunos-solib.c
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* solib-sunos.c: Include "bcache.h" and "regcache.h".
* Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.269
diff -u -p -r1.269 Makefile.in
--- Makefile.in 6 Oct 2002 19:53:52 -0000 1.269
+++ Makefile.in 20 Oct 2002 14:36:27 -0000
@@ -2129,7 +2129,8 @@ solib-legacy.o: solib-legacy.c $(defs_h)
solib-osf.o: solib-osf.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
$(symfile_h) $(objfiles_h) $(target_h) $(inferior_h) $(solist_h)
solib-sunos.o: solib-sunos.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
- $(symfile_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) $(solist_h)
+ $(symfile_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) $(solist_h) \
+ $(bcache_h) $(regcache_h)
solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \
$(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
$(gdbcore_h) $(target_h) $(inferior_h) $(solist_h) $(solib_svr4_h)
Index: solib-sunos.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-sunos.c,v
retrieving revision 1.5
diff -u -p -r1.5 solib-sunos.c
--- solib-sunos.c 19 Oct 2002 23:05:27 -0000 1.5
+++ solib-sunos.c 20 Oct 2002 14:36:31 -0000
@@ -39,6 +39,8 @@
#include "gdbcore.h"
#include "inferior.h"
#include "solist.h"
+#include "bcache.h"
+#include "regcache.h"
/* Link map info to include in an allocated so_list entry */