From 677653a0778fec0a7e7b8e274c30798598e540ea Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 15 Feb 1995 18:51:31 +0000 Subject: Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux. --- gdb/dcache.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/dcache.c') diff --git a/gdb/dcache.c b/gdb/dcache.c index 159c3acb4c6..7a2d0db46cd 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -23,6 +23,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "dcache.h" #include "gdbcmd.h" +#ifdef __STDC__ +/* In case the system header files define a prototype for insque and + remque that uses a pointer to a struct qelem, silence the warnings */ +struct qelem; +#define insque(a,b) (insque)((struct qelem *)(a), (struct qelem *)(b)) +#define remque(a) (remque)((struct qelem *)(a)) +#endif + int remote_dcache = 0; /* The data cache records all the data read from the remote machine -- cgit v1.2.1