This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RES: Does GDB use VMA addresses when uploading an image to debug in a remote target?
- From: Fabrício de Novaes Kucinskis <fabricio at dea dot inpe dot br>
- To: "Daniel Jacobowitz" <drow at false dot org>, <pkoning at equallogic dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 23 Feb 2006 08:13:17 -0300
- Subject: RES: Does GDB use VMA addresses when uploading an image to debug in a remote target?
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