This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: removes trivial compilation warning
- From: "Joerg Beyer" <j dot beyer at web dot de>
- To: drow at mvista dot com
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 17 Mar 2003 21:47:48 +0100
- Subject: Re: removes trivial compilation warning
- Organization: http://freemail.web.de/
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