From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11786 invoked by alias); 17 Mar 2003 20:47:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11729 invoked from network); 17 Mar 2003 20:47:53 -0000 Received: from unknown (HELO mailgate5.cinetic.de) (217.72.192.165) by sources.redhat.com with SMTP; 17 Mar 2003 20:47:53 -0000 Received: from web.de (fmomail02.dlan.cinetic.de [172.20.1.46]) by mailgate5.cinetic.de (8.11.6/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id h2HKlm304249; Mon, 17 Mar 2003 21:47:48 +0100 Date: Mon, 17 Mar 2003 20:47:00 -0000 Message-Id: <200303172047.h2HKlm304249@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Joerg Beyer" To: drow@mvista.com Cc: gdb@sources.redhat.com Subject: Re: removes trivial compilation warning Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00265.txt.bz2 Daniel Jacobowitz wrote: > Look down a line in your patch. Is HAVE_STDLIB_H not getting defined? > OK :-) the configure.in in the gdbserver directory does not check for for stdlib (but use the HAVE_STDLIB_H as seen above). gdbreplay.c include the local config.h (in the gdbserver directory), so there is no define HAVE_STDLIB_H In the directory above this, the check is there, it this one: AC_CHECK_HEADERS(stdlib.h) As far as I can see the configure in gdb/gdbserver dont use other configure results (e.g. by including ../config.h), so I suggest to extend the AC_CHECK_HEADERS to check also for stdlib in gdb/gdbserver/configure.in Of course my patch was bullshit :-) Joerg