This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]