From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2819 invoked by alias); 17 Mar 2003 19:36:12 -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 2775 invoked from network); 17 Mar 2003 19:36:12 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 17 Mar 2003 19:36:12 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18v2IP-0003O0-00; Mon, 17 Mar 2003 15:37:26 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18v0Ox-0002wW-00; Mon, 17 Mar 2003 14:36:03 -0500 Date: Mon, 17 Mar 2003 19:36:00 -0000 From: Daniel Jacobowitz To: Joerg Beyer Cc: gdb@sources.redhat.com Subject: Re: removes trivial compilation warning Message-ID: <20030317193603.GB11288@nevyn.them.org> Mail-Followup-To: Joerg Beyer , gdb@sources.redhat.com References: <200303171919.h2HJJc310659@mailgate5.cinetic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303171919.h2HJJc310659@mailgate5.cinetic.de> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00262.txt.bz2 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? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer