This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH arm/linux fix build problems
- From: Richard Earnshaw <rearnsha at buzzard dot freeserve dot co dot uk>
- To: gdb-patches at sources dot redhat dot com
- Cc: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk
- Date: Tue, 12 Feb 2002 01:02:16 +0000
- Subject: PATCH arm/linux fix build problems
- Reply-to: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk
Fixes a couple of nits when building on Linux (fallout from the previous
mega-
patch). Hey, you didn't really think such a large set of diffs could be
perfect first-time round, surely!
R.
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.
Index: arm-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-linux-nat.c,v
retrieving revision 1.16
diff -p -p -r1.16 arm-linux-nat.c
*** arm-linux-nat.c 2002/02/11 18:34:08 1.16
--- arm-linux-nat.c 2002/02/12 00:54:33
***************
*** 24,29 ****
--- 24,31 ----
#include "gdb_string.h"
#include "regcache.h"
+ #include "arm-tdep.h"
+
#include <sys/user.h>
#include <sys/ptrace.h>
#include <sys/utsname.h>
Index: config/arm/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-linux.h,v
retrieving revision 1.10
diff -p -p -r1.10 tm-linux.h
*** tm-linux.h 2002/01/30 16:35:51 1.10
--- tm-linux.h 2002/02/12 00:54:35
*************** extern LONGEST arm_linux_call_dummy_word
*** 51,56 ****
--- 51,58 ----
/* 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) \