* [PATCH] linux-proc.c: include regcache.h
@ 2002-02-13 12:46 Elena Zannoni
2002-02-13 13:40 ` Elena Zannoni
0 siblings, 1 reply; 2+ messages in thread
From: Elena Zannoni @ 2002-02-13 12:46 UTC (permalink / raw)
To: gdb-patches
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] linux-proc.c: include regcache.h
2002-02-13 12:46 [PATCH] linux-proc.c: include regcache.h Elena Zannoni
@ 2002-02-13 13:40 ` Elena Zannoni
0 siblings, 0 replies; 2+ messages in thread
From: Elena Zannoni @ 2002-02-13 13:40 UTC (permalink / raw)
To: gdb-patches
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-13 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13 12:46 [PATCH] linux-proc.c: include regcache.h Elena Zannoni
2002-02-13 13:40 ` Elena Zannoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox