From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2781 invoked by alias); 30 Mar 2007 18:53:46 -0000 Received: (qmail 2743 invoked by uid 22791); 30 Mar 2007 18:53:44 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Mar 2007 19:53:40 +0100 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0) with ESMTP id l2UIrUhj013613; Fri, 30 Mar 2007 20:53:30 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0/Submit) id l2UIrTSg009986; Fri, 30 Mar 2007 20:53:29 +0200 (CEST) Date: Fri, 30 Mar 2007 18:53:00 -0000 Message-Id: <200703301853.l2UIrTSg009986@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: eliz@gnu.org, mark.kettenis@xs4all.nl, denis.pilat@st.com, gdb-patches@sourceware.org In-reply-to: <20070330121226.GB7415@caradoc.them.org> (message from Daniel Jacobowitz on Fri, 30 Mar 2007 08:12:26 -0400) Subject: Re: [RFA] gdb is broken: missing signal.h checking References: <460BD630.20709@st.com> <19115.212.123.203.30.1175190093.squirrel@webmail.xs4all.nl> <20070329174808.GA28084@caradoc.them.org> <20070330121226.GB7415@caradoc.them.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00366.txt.bz2 > Date: Fri, 30 Mar 2007 08:12:26 -0400 > From: Daniel Jacobowitz > > On Fri, Mar 30, 2007 at 03:01:01PM +0300, Eli Zaretskii wrote: > > > Date: Thu, 29 Mar 2007 13:48:08 -0400 > > > From: Daniel Jacobowitz > > > Cc: Denis PILAT , gdb-patches > > > > > > GDB definitely does not support systems without , but > > > gdbserver now tries to. Aha, missed that bit of detail I guess. > > Then perhaps we should add this information to gdb/README: it now > > explicitly says that an ISO C compiler is required, without > > qualifications. > > I believe some projects (binutils and gcc maybe?) draw a distinction > between "an ISO C compiler" and "an ISO C standard library" and > require the former but not the latter. The distinction is "Freestanding" versus "Hosted" I believe. Obviously GDB requires the latterm but I can see people wanting to support the former for gdbserver. > I assume we require an ISO C runtime for the rest of GDB. If that's > true, then how about the attached patch? Effectively we do. Or at least I think we should. We made some exceptions in the past for specific targets that had an almost ISO C compatible runtime (SunOS, Ultrix) but we no longer support those. This diff looks fine to me. > 2007-03-30 Daniel Jacobowitz > > * README: Mention ISO C library requirement. > > Index: README > =================================================================== > RCS file: /cvs/src/src/gdb/README,v > retrieving revision 1.38 > diff -u -p -r1.38 README > --- README 21 Nov 2006 05:12:44 -0000 1.38 > +++ README 30 Mar 2007 12:11:32 -0000 > @@ -87,7 +87,9 @@ Bugs' section below; there are a few kno > GDB requires an ISO C (ANSI C) compiler. If you do not have an ISO > C compiler for your system, you may be able to download and install > the GNU CC compiler. It is available via anonymous FTP from the > -directory `ftp://ftp.gnu.org/pub/gnu/gcc'. > +directory `ftp://ftp.gnu.org/pub/gnu/gcc'. GDB also requires an ISO > +C standard library. The GDB remote server, gdbserver, builds with some > +non-ISO standard libraries - e.g. for Windows CE. > > GDB uses Expat, an XML parsing library, to implement some target-specific > features. Expat will be linked in if it is available at build time, or >