From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7239 invoked by alias); 25 Sep 2002 15:37:25 -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 7230 invoked from network); 25 Sep 2002 15:37:24 -0000 Received: from unknown (HELO mms3.broadcom.com) (63.70.210.38) by sources.redhat.com with SMTP; 25 Sep 2002 15:37:24 -0000 Received: from 63.70.210.1 by mms3.broadcom.com with ESMTP (Broadcom MMS-3 SMTP Relay (MMS v4.7);); Wed, 25 Sep 2002 08:37:23 -0700 X-Server-Uuid: 1e1caf3a-b686-11d4-a6a3-00508bfc9ae5 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id IAA21477 for ; Wed, 25 Sep 2002 08:37:23 -0700 (PDT) Received: from dt-sj3-158.sj.broadcom.com (dt-sj3-158 [10.21.64.158]) by mail-sj1-5.sj.broadcom.com (8.12.4/8.12.4/SSF) with ESMTP id g8PFbMER015599 for ; Wed, 25 Sep 2002 08:37:22 -0700 (PDT) Received: (from kwalker@localhost) by dt-sj3-158.sj.broadcom.com ( 8.9.3/8.9.3) id IAA03235; Wed, 25 Sep 2002 08:37:22 -0700 To: gdb@sources.redhat.com Subject: Re: add-symbol-file and CORE_ADDR References: From: "Kip Walker" Date: Wed, 25 Sep 2002 08:37:00 -0000 In-Reply-To: kwalker@broadcom.com's message of "Wed, 25 Sep 2002 15:34:10 +0000 (UTC)" Message-ID: MIME-Version: 1.0 X-WSS-ID: 118F07B918652-01-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00408.txt.bz2 Sorry, should have stated: version is GNU gdb 5.2.1 targetting a remote 64-bit MIPS CPU. Kip kwalker@broadcom.com ("Kip Walker") writes: > It looks like there might be a problem with add-symbol-file's parsing > of section addresses when CORE_ADDR is a 64-bit type, since 'strtoul' > is used. I haven't dug through the code to see if there are any > locations that already handle address parsing that works whether > CORE_ADDR is 32 or 64 bits. > > Kip