From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19775 invoked by alias); 7 Dec 2001 14:38:41 -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 19750 invoked from network); 7 Dec 2001 14:38:36 -0000 Received: from unknown (HELO conn.mc.mpls.visi.com) (208.42.156.2) by sources.redhat.com with SMTP; 7 Dec 2001 14:38:36 -0000 Received: from grante.comtrol.com (grante.dsl.visi.com [208.42.141.248]) by conn.mc.mpls.visi.com (Postfix) with SMTP id 41B0881F0 for ; Fri, 7 Dec 2001 08:38:35 -0600 (CST) Received: (qmail 588 invoked by uid 500); 7 Dec 2001 14:44:15 -0000 Date: Fri, 07 Dec 2001 06:38:00 -0000 From: Grant Edwards To: Jan Van Belle , Jan_VAN_BELLE/BE/ALCATEL@ALCATEL.visi.com Cc: gdb@sources.redhat.com Subject: Re: bugfix gdb5.0/insight5.0 Message-ID: <20011207084414.A574@visi.com> References: <3C108A1A.561C7AF7@alcatel.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3C108A1A.561C7AF7@alcatel.be>; from Jan.Van_Belle@alcatel.be on Fri, Dec 07, 2001 at 10:21:30AM +0100 X-SW-Source: 2001-12/txt/msg00077.txt.bz2 On Fri, Dec 07, 2001 at 10:21:30AM +0100, Jan Van Belle wrote: > for those compiling for target arm-elf, I have a small bugfix at > compile-time. > > remove: struct tm lt; > > in two functions. (openLog() and closeLog() or something. It are the > first two functions in the file). > > in file: xxx/xxx5.0/gdb/rdi-share/devsw.c > > Otherwise I got: struct tm : size not known. > struct tm is declared in the two functions but not called in any way... I see time.h was included a while back to get rid of the warning, but it looks like Mr. Van Belle is right, the stuct is never used, so both the declaration and the include of time.h should be removed. -- Grant Edwards grante@visi.com