diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-02-15 18:51:31 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-02-15 18:51:31 +0000 |
commit | 677653a0778fec0a7e7b8e274c30798598e540ea (patch) | |
tree | 4976e48593bbfe63c146d2de1638022d4c47e07b /gdb/dcache.c | |
parent | 882d9d1a2f15628b5c269c34357ba4b9958aa65c (diff) | |
download | fsf-binutils-gdb-677653a0778fec0a7e7b8e274c30798598e540ea.zip fsf-binutils-gdb-677653a0778fec0a7e7b8e274c30798598e540ea.tar.gz fsf-binutils-gdb-677653a0778fec0a7e7b8e274c30798598e540ea.tar.bz2 |
Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux.
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r-- | gdb/dcache.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c index 159c3ac..7a2d0db 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 |