From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26648 invoked by alias); 25 May 2005 04:12:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26627 invoked by uid 22791); 25 May 2005 04:12:15 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 25 May 2005 04:12:15 +0000 Received: from farnswood.snap.net.nz (p147-tnt2.snap.net.nz [202.124.108.147]) by viper.snap.net.nz (Postfix) with ESMTP id 2035E5374B4; Wed, 25 May 2005 16:12:12 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id A57AA62A99; Wed, 25 May 2005 05:12:54 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17043.64325.889868.708579@farnswood.snap.net.nz> Date: Wed, 25 May 2005 04:12:00 -0000 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: Consistent format for memory addresses In-Reply-To: <20050525033745.GA25868@nevyn.them.org> References: <17043.61074.262608.156551@farnswood.snap.net.nz> <20050525033745.GA25868@nevyn.them.org> X-SW-Source: 2005-05/txt/msg00311.txt.bz2 > I have no objection - but is it really that hard to treat it as a > number? I see what you're saying now. I take the current address from "info frame" and then search for it in the output of disassemble. This lets me place an arrow on the appropriate line in the "disassembly window". That means I have to treat the address as a string which presents a problem when the different commands use different formats. Nick