This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix gdb 7.0 compilation on IRIX 5.3
- From: Tom Tromey <tromey at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 Nov 2009 13:19:15 -0700
- Subject: Re: Fix gdb 7.0 compilation on IRIX 5.3
- References: <yddvdh1qdlc.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
- Reply-to: tromey at redhat dot com
>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
Rainer> 2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Rainer> * dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
Rainer> +#ifndef MAP_FAILED
Rainer> +#define MAP_FAILED -1
Rainer> +#endif
I would have expected `(void *) -1' here. This is ok if it was
warning-free. Or the other form is also ok.
thanks,
Tom