Does GDB use VMA addresses when uploading an image to debug in a remote target?

Daniel Jacobowitz drow@false.org
Wed Feb 22 19:23:00 GMT 2006


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



More information about the Gdb mailing list