From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10478 invoked by alias); 2 Jul 2012 16:41:15 -0000 Received: (qmail 10469 invoked by uid 22791); 2 Jul 2012 16:41:15 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Jul 2012 16:41:00 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q62GemGj001682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jul 2012 12:40:48 -0400 Received: from host2.jankratochvil.net (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q62Gei1P015211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 2 Jul 2012 12:40:47 -0400 Date: Mon, 02 Jul 2012 16:41:00 -0000 From: Jan Kratochvil To: Stan Shebs Cc: Yao Qi , gdb-patches@sourceware.org Subject: Build regression on 64-bit hosts [Re: [PATCH] Dynamic printf for a target agent] Message-ID: <20120702164042.GA24425@host2.jankratochvil.net> References: <4FC57340.6070306@earthlink.net> <4FC70975.7020604@codesourcery.com> <4FE8841A.7090100@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FE8841A.7090100@earthlink.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00017.txt.bz2 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 921)/* Return true if there are no commands to run at this location, 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 922) which likely means we want to report back to GDB. */ 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 923)int 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 924)gdb_no_commands_at_breakpoint (CORE_ADDR where) 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 925){ 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 926) struct breakpoint *bp = find_gdb_breakpoint_at (where); 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 927) 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 928) if (bp == NULL) 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 929) return 0; 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 930) 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 931) if (debug_threads) 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 932) fprintf (stderr, "at 0x%s, bp command_list is 0x%x\n", 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 933) paddress (where), (int) bp->command_list); mem-break.c:933:25: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 934) return (bp->command_list == NULL); 2885fb01 (Stan Shebs 2012-07-02 15:29:29 +0000 935)} Thanks, Jan