From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21252 invoked by alias); 17 Mar 2003 19:41:02 -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 21186 invoked from network); 17 Mar 2003 19:41:01 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 17 Mar 2003 19:41:01 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18v2N5-0003P8-00; Mon, 17 Mar 2003 15:42:15 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18v0Tc-0003BP-00; Mon, 17 Mar 2003 14:40:52 -0500 Date: Mon, 17 Mar 2003 19:41:00 -0000 From: Daniel Jacobowitz To: Joerg Beyer , gdb@sources.redhat.com Subject: Re: removes trivial compilation warning Message-ID: <20030317194052.GA12220@nevyn.them.org> Mail-Followup-To: Joerg Beyer , gdb@sources.redhat.com References: <200303171919.h2HJJc310659@mailgate5.cinetic.de> <20030317193603.GB11288@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030317193603.GB11288@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00263.txt.bz2 On Mon, Mar 17, 2003 at 02:36:03PM -0500, Daniel Jacobowitz wrote: > On Mon, Mar 17, 2003 at 08:19:38PM +0100, Joerg Beyer wrote: > > This fixes a trivial warning: > > > > gdb/gdbserver/gdbreplay.c gives a warning, because atoi is > > not declared. The inlcude of stdlib.h fixes this: > > > > Joerg > > > > diff -c src_orig/gdb/gdbserver/gdbreplay.c src/gdb/gdbserver/gdbreplay.c > > *** src_orig/gdb/gdbserver/gdbreplay.c 2002-07-09 19:38:58.000000000 +0200 > > --- src/gdb/gdbserver/gdbreplay.c 2003-03-17 19:53:38.000000000 +0100 > > *************** > > *** 30,35 **** > > --- 30,36 ---- > > #include > > #include > > #include > > + #include > > > > #ifdef HAVE_STDLIB_H > > #include > > Look down a line in your patch. Is HAVE_STDLIB_H not getting defined? No, it wasn't. I've fixed this in CVS. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer