This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH arm/linux fix build problems



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) \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]