aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-11-06 22:18:13 +0000
committerJim Blandy <jimb@codesourcery.com>2001-11-06 22:18:13 +0000
commit3ecc0ae2c03039c592a26a89cb423371a0c0df98 (patch)
treeacab0d4b7c78fc42f92e06e2dac66f3d7ed99516
parente81b020b49dc554bf577f90d8e9a43be27bde7d4 (diff)
downloadgdb-3ecc0ae2c03039c592a26a89cb423371a0c0df98.zip
gdb-3ecc0ae2c03039c592a26a89cb423371a0c0df98.tar.gz
gdb-3ecc0ae2c03039c592a26a89cb423371a0c0df98.tar.bz2
* s390-nat.c: #include "regcache.h", to get declaration for
`supply_register'. (The last change already added the dependency of s390-nat.o on regcache.h. Oops.)
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/s390-nat.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6b1d883..aaa1344 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2001-11-06 Jim Blandy <jimb@redhat.com>
+ * s390-nat.c: #include "regcache.h", to get declaration for
+ `supply_register'. (The last change already added the dependency
+ of s390-nat.o on regcache.h. Oops.)
+
* Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
(s390-tdep.o, s390-nat.o): New rules.
diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 0239ed0..19e8923 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -21,6 +21,7 @@
#include "defs.h"
#include "tm.h"
+#include "regcache.h"
#include <asm/ptrace.h>
#include <sys/ptrace.h>
#include <asm/processor.h>