From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25071 invoked by alias); 14 Feb 2007 12:42:54 -0000 Received: (qmail 25059 invoked by uid 22791); 14 Feb 2007 12:42:52 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 14 Feb 2007 12:42:47 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HHJTB-0002DM-3N for gdb@sourceware.org; Wed, 14 Feb 2007 07:42:45 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HHJTA-0007oe-OE for gdb@sourceware.org; Wed, 14 Feb 2007 07:42:44 -0500 Date: Wed, 14 Feb 2007 15:04:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: build problem in tcl/compat/strstr.c Message-ID: <20070214124244.GA29928@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <20070214123558.GD10538@radix50.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070214123558.GD10538@radix50.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00117.txt.bz2 On Wed, Feb 14, 2007 at 01:35:58PM +0100, Baurzhan Ismagulov wrote: > I don't mind having gdb's own strstr implementation compiled in, so I > did the hack below. An alternative were to check for stddef.h and > include it, otherwise defining NULL ourselves (I guess we shouldn't > include string.h since it could have a different prototype, which would > produce a warning). > > How should we proceed? Please either ask the Insight list, who may care, or else use --disable-gdbtk when cross compiling; GDB itself does not use TCL. -- Daniel Jacobowitz CodeSourcery