From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22401 invoked by alias); 3 May 2008 23:48:58 -0000 Received: (qmail 22393 invoked by uid 22791); 3 May 2008 23:48:58 -0000 X-Spam-Check-By: sourceware.org Received: from mail3.caviumnetworks.com (HELO mail3.caviumnetworks.com) (12.108.191.235) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 May 2008 23:48:38 +0000 Received: from exch4.caveonetworks.com (Not Verified[192.168.16.23]) by mail3.caviumnetworks.com with MailMarshal (v6,2,2,3503) id ; Sat, 03 May 2008 19:48:40 -0400 Received: from exch4.caveonetworks.com ([192.168.16.23]) by exch4.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 3 May 2008 16:48:37 -0700 Received: from localhost.localdomain ([64.169.86.201]) by exch4.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sat, 3 May 2008 16:48:36 -0700 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.14.2/8.13.7/Debian-2) with ESMTP id m43NmZrk017364; Sat, 3 May 2008 16:48:35 -0700 Received: (from anemet@localhost) by localhost.localdomain (8.14.2/8.13.7/Submit) id m43NmZPM017361; Sat, 3 May 2008 16:48:35 -0700 From: Adam Nemet MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18460.63955.147821.776423@localhost.localdomain> Date: Sat, 03 May 2008 23:53:00 -0000 To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] add-symbol-file not to print address truncated In-Reply-To: <200805040043.26994.pedro@codesourcery.com> References: <18460.63329.752236.534872@localhost.localdomain> <200805040043.26994.pedro@codesourcery.com> X-Mailer: VM 7.17 under 21.4 (patch 20) "Double Solitaire" XEmacs Lucid 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: 2008-05/txt/msg00153.txt.bz2 Pedro Alves writes: > Would paddr_nz (in utils.c) do the trick? I thought of that but I don't think it would truncate the value when it needs to be truncated. IOW, note the masking in hex_string_addr. Adam