This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] linux-proc.c: include regcache.h


Elena Zannoni writes:
 > 
 > Compiling with ,-Werror I found this.
 > Committed as obvious.
 > 
 > Elena
 > 
 > 
 > 2002-02-13  Elena Zannoni  <ezannoni@redhat.com>
 > 
 > 	* linux-proc.c: Add include of regcache.h.
 > 	* Makefile.in (linux-proc.o): Add dependency on regcache.h.
 > 
 > 
 > 
 > Index: linux-proc.c
 > ===================================================================
 > RCS file: /cvs/uberbaum/gdb/linux-proc.c,v
 > retrieving revision 1.5
 > diff -u -r1.5 linux-proc.c
 > --- linux-proc.c	2002/01/15 20:10:55	1.5
 > +++ linux-proc.c	2002/02/13 20:40:37
 > @@ -24,6 +24,7 @@
 >  #include <sys/procfs.h>	/* for elf_gregset etc. */
 >  #include <sys/stat.h>	/* for struct stat */
 >  #include <ctype.h>	/* for isdigit */
 > +#include "regcache.h"	/* for registers_changed */
 >  #include "gregset.h"	/* for gregset */
 >  #include "gdbcore.h"	/* for get_exec_file */
 >  #include "gdbthread.h"	/* for struct thread_info etc. */
 > 
 > Index: Makefile.in
 > ===================================================================
 > RCS file: /cvs/uberbaum/gdb/Makefile.in,v
 > retrieving revision 1.156
 > diff -u -r1.156 Makefile.in
 > --- Makefile.in	2002/02/09 18:45:06	1.156
 > +++ Makefile.in	2002/02/13 20:42:21
 > @@ -1331,7 +1331,7 @@
 >  	$(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) 
 >  
 >  linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \
 > -	$(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h 
 > +	$(gdbcore_h) $(gdbthread_h) $(regcache.h) $(BFD_SRC)/elf-bfd.h 
 >  
 >  cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)


There is a typo in the Makefile.in patch, but not in what I
committed. I am a victim of too many sandboxes.

Elena


Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -p -r1.157 -r1.158
--- Makefile.in	2002/02/12 13:36:03	1.157
+++ Makefile.in	2002/02/13 20:47:16	1.158
@@ -1333,7 +1333,7 @@ gcore.o: gcore.c $(defs_h) $(command_h) 
 	$(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) 
 
 linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \
-	$(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h 
+	$(gdbcore_h) $(gdbthread_h) $(regcache_h) $(BFD_SRC)/elf-bfd.h 
 
 cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]