From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3216 invoked by alias); 21 Apr 2003 19:47:46 -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 3175 invoked from network); 21 Apr 2003 19:47:44 -0000 Received: from unknown (HELO MM01SNLNTO.son.sandia.gov) (132.175.109.20) by sources.redhat.com with SMTP; 21 Apr 2003 19:47:44 -0000 Received: from 132.175.109.4 by MM01SNLNTO.son.sandia.gov with ESMTP ( Tumbleweed MMS SMTP Relay 01 (MMS v5.5.0)); Mon, 21 Apr 2003 13:47:40 -0600 Received: from es08snlnt.sandia.gov (smtp-in.sandia.gov [134.253.130.11] ) by mailgate2.sandia.gov (8.12.9/8.12.9) with ESMTP id h3LJlebo019644 for ; Mon, 21 Apr 2003 13:47:40 -0600 (MDT) Received: by es08snlnt.sandia.gov with Internet Mail Service ( 5.5.2653.19) id <2AA2BRMV>; Mon, 21 Apr 2003 13:47:39 -0600 Message-ID: <71251C7D5FB1D2119C8F0008C7A44ED103792006@es07snlnt.sandia.gov> From: "Liang, James" To: "'gdb@sources.redhat.com'" Subject: relocating BSS section for remote target Date: Mon, 21 Apr 2003 19:47:00 -0000 MIME-Version: 1.0 X-WSS-ID: 12BA9556278948-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00236.txt.bz2 I am trying to understand how the code for remote targets works for GDB. In remote_cisco_objfile_relocate of remote.c, it looks like the data, text, and bss sections are all relocated. The problem is that when I try to access something in my bss section, it still tries to access it at the old unrelocated address. What could be causing this? James