From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5399 invoked by alias); 23 Feb 2006 11:13:29 -0000 Received: (qmail 5389 invoked by uid 22791); 23 Feb 2006 11:13:28 -0000 X-Spam-Check-By: sourceware.org Received: from satelite.dea.inpe.br (HELO satelite.dea.inpe.br) (150.163.30.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 23 Feb 2006 11:13:25 +0000 Received: from fabricio (fabricio.dea.inpe.br [150.163.30.16]) by satelite.dea.inpe.br (Postfix) with SMTP id 5EED5128A4A; Thu, 23 Feb 2006 08:20:43 -0300 (BRT) From: =?iso-8859-1?Q?Fabr=EDcio_de_Novaes_Kucinskis?= To: "Daniel Jacobowitz" , Cc: Subject: RES: Does GDB use VMA addresses when uploading an image to debug in a remote target? Date: Sat, 25 Feb 2006 04:39:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit In-Reply-To: <20060222183815.GA29181@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00316.txt.bz2 Ok, knowing that I'll change my program to test the routines I want. Daniel, Paul, thank you very much for the help! Best regards, Fabrício. -----Mensagem original----- De: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org]Em nome de Daniel Jacobowitz Enviada em: quarta-feira, 22 de fevereiro de 2006 15:38 Para: Fabrício de Novaes Cc: gdb@sourceware.org Assunto: Re: Does GDB use VMA addresses when uploading an image to debug in a remote target? On Wed, Feb 22, 2006 at 03:30:20PM -0300, Fabrício de Novaes wrote: > I can't make VMA and LMA the same, or the program will not run in > RAM. So the question is: there's a way to tell GDB to use LMA instead > of VMA when loading a program? No, today there is not. You might be able to accomplish this by using objcopy to create a copy of the program with different VMAs, and loading that. -- Daniel Jacobowitz CodeSourcery