aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arm-linux-nat.c2
-rw-r--r--gdb/config/arm/tm-linux.h2
3 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f671b08..53dc6a9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2002-02-11 Richard Earnshaw <rearnsha@arm.com>
+ * arm-linux-nat.c: Really include arm-tdep.h.
+ * config/arm/tm-linux.h (struct type, struct value): Declare.
+
+2002-02-11 Richard Earnshaw <rearnsha@arm.com>
+
* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index 115e960..c8a1ddf 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -24,6 +24,8 @@
#include "gdb_string.h"
#include "regcache.h"
+#include "arm-tdep.h"
+
#include <sys/user.h>
#include <sys/ptrace.h>
#include <sys/utsname.h>
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h
index c815c48..7e3a80c 100644
--- a/gdb/config/arm/tm-linux.h
+++ b/gdb/config/arm/tm-linux.h
@@ -51,6 +51,8 @@ extern LONGEST arm_linux_call_dummy_words[];
/* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format,
into VALBUF. */
+struct type;
+struct value;
extern void arm_linux_extract_return_value (struct type *, char[], char *);
#undef EXTRACT_RETURN_VALUE
#define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \