This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Does GDB use VMA addresses when uploading an image to debug in a remote target?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Fabrício de Novaes <fabricio at dea dot inpe dot br>
- Cc: gdb at sourceware dot org
- Date: Wed, 22 Feb 2006 13:38:15 -0500
- Subject: Re: Does GDB use VMA addresses when uploading an image to debug in a remote target?
- References: <1140633020.8776@satelite.dea.inpe.br>
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