From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19761 invoked by alias); 8 Jul 2007 01:27:21 -0000 Received: (qmail 19753 invoked by uid 22791); 8 Jul 2007 01:27:20 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 08 Jul 2007 01:27:16 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 8AC89982B8; Sun, 8 Jul 2007 01:27:14 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2DE619829B; Sun, 8 Jul 2007 01:27:13 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I7LYN-0003OY-VH; Sat, 07 Jul 2007 21:27:12 -0400 Date: Sun, 08 Jul 2007 01:27:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: Building solib-target.c when CORE_ADDR != ULONGEST. Message-ID: <20070708012711.GA12934@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <46903BF1.6020901@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46903BF1.6020901@portugalmail.pt> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-07/txt/msg00133.txt.bz2 On Sun, Jul 08, 2007 at 02:20:49AM +0100, Pedro Alves wrote: > I'm using the attached patch to try to catch invalid data send by a > (remote) target, but I guess it isn't correct for all archs. I don't think this check is worth doing, honestly. Does it work fine with just the cast? -- Daniel Jacobowitz CodeSourcery