aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/linux-proc.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 044087b..7973f67 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2002-02-13 Andrew Cagney <ac131313@redhat.com>
From 2002-01-18 Greg McGary <greg@mcgary.org>:
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index f676acc..4a7cbe5 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1333,7 +1333,7 @@ gcore.o: gcore.c $(defs_h) $(command_h) $(inferior_h) $(gdbcore_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)
diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c
index 8877d06..4a56573 100644
--- a/gdb/linux-proc.c
+++ b/gdb/linux-proc.c
@@ -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. */