From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14856 invoked by alias); 4 Nov 2005 10:34:51 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 14809 invoked by uid 22791); 4 Nov 2005 10:34:48 -0000 Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 04 Nov 2005 10:34:48 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A367AE693 for ; Fri, 4 Nov 2005 11:34:45 +0100 (CET) From: Andreas Schwab To: gdb@sources.redhat.com Subject: Re: Status on cross builds References: <20051102181756.GB979@adacore.com> <200511022334.jA2NYv39004939@elgar.sibelius.xs4all.nl> <20051104101942.GY2988@calimero.vinschen.de> X-Yow: I'm pretending I'm pulling in a TROUT! Am I doing it correctly?? Date: Fri, 04 Nov 2005 10:34:00 -0000 In-Reply-To: <20051104101942.GY2988@calimero.vinschen.de> (Corinna Vinschen's message of "Fri, 4 Nov 2005 11:19:42 +0100") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-11/txt/msg00093.txt.bz2 Corinna Vinschen writes: > I don't think so at all. The -Werror results are just due to the usage > of gdb_byte and I don't think that qualifies for treating these targets > as broken. It only means that nobody touched the targets after the > gdb_byte change has been introduced, but that doesn't invalidate the > targets as a whole. This point of view is somewhat excessive, IMHO. Especially since there are massive warnings in generic code. For example: valprint.c: In function 'partial_memory_read': valprint.c:1047: warning: pointer targets in passing argument 2 of 'target_read_ memory' differ in signedness valprint.c:1058: warning: pointer targets in passing argument 2 of 'target_read_ memory' differ in signedness valprint.c: In function 'val_print_string': valprint.c:1168: warning: pointer targets in passing argument 1 of 'extract_unsi gned_integer' differ in signedness valprint.c:1207: warning: pointer targets in passing argument 2 of 'target_read_ memory' differ in signedness valprint.c:1208: warning: pointer targets in passing argument 1 of 'extract_unsi gned_integer' differ in signedness valprint.c:1230: warning: pointer targets in passing argument 2 of 'current_lang uage->la_printstr' differ in signedness valprint.c: In function '_initialize_valprint': valprint.c:1388: warning: unused variable 'c' Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."