From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6054 invoked by alias); 13 Dec 2002 20:22:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6040 invoked from network); 13 Dec 2002 20:22:28 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 13 Dec 2002 20:22:28 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8CA863D07; Fri, 13 Dec 2002 15:21:01 -0500 (EST) Message-ID: <3DFA412D.4030409@redhat.com> Date: Fri, 13 Dec 2002 12:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Replace complain() with complaint() References: <1021212043633.ZM12225@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00426.txt.bz2 > - complain (&anon_block_end_complaint, BLOCK_END (block), BLOCK_START (block)); > + complaint (&symfile_complaints, > + "block end address 0x%lx less than block start address 0x%lx (patched it)", > + BLOCK_END (block), BLOCK_START (block)); Hmm, I don't think that is right. It should have attacted a -Wformat warning as block start/end are core-addrs. From memory though, a native i386 build has CORE_ADDR as a long which might explain why you don't see the warning. Puzzled. Andrew